- Timestamp:
- Nov 22, 2000, 2:11:01 AM (25 years ago)
- Location:
- trunk/src/crtdll
- Files:
-
- 1 added
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/crtdll/dir.c
r4671 r4672 60 60 * Failure: -1 61 61 */ 62 INT __cdeclCRTDLL__chdir(LPCSTR newdir)62 INT CDECL CRTDLL__chdir(LPCSTR newdir) 63 63 { 64 64 if (!SetCurrentDirectoryA(newdir)) … … 84 84 * Failure: 1 85 85 */ 86 BOOL __cdeclCRTDLL__chdrive(INT newdrive)86 BOOL CDECL CRTDLL__chdrive(INT newdrive) 87 87 { 88 88 char buffer[3] = "A:"; … … 112 112 * Failure: -1 113 113 */ 114 INT __cdeclCRTDLL__findclose(DWORD hand)114 INT CDECL CRTDLL__findclose(DWORD hand) 115 115 { 116 116 TRACE(":handle %ld\n",hand); … … 142 142 * Failure: -1. 143 143 */ 144 DWORD __cdeclCRTDLL__findfirst(LPCSTR fspec, find_t* ft)144 DWORD CDECL CRTDLL__findfirst(LPCSTR fspec, find_t* ft) 145 145 { 146 146 WIN32_FIND_DATAA find_data; … … 175 175 * Failure: -1 176 176 */ 177 INT __cdeclCRTDLL__findnext(DWORD hand, find_t * ft)177 INT CDECL CRTDLL__findnext(DWORD hand, find_t * ft) 178 178 { 179 179 WIN32_FIND_DATAA find_data; … … 206 206 * Failure: NULL 207 207 */ 208 CHAR* __cdeclCRTDLL__getcwd(LPSTR buf, INT size)208 CHAR* CDECL CRTDLL__getcwd(LPSTR buf, INT size) 209 209 { 210 210 // return (_getcwd(buf, size)); … … 238 238 * Passing drive 0 means the current drive. 239 239 */ 240 CHAR* __cdeclCRTDLL__getdcwd(INT drive,LPSTR buf, INT size)240 CHAR* CDECL CRTDLL__getdcwd(INT drive,LPSTR buf, INT size) 241 241 { 242 242 // return (_getdcwd(drive, buffer, maxlen)); … … 281 281 * 282 282 */ 283 UINT __cdeclCRTDLL__getdiskfree(UINT disk, diskfree_t* d)283 UINT CDECL CRTDLL__getdiskfree(UINT disk, diskfree_t* d) 284 284 { 285 285 char drivespec[4] = {'@', ':', '\\', 0}; … … 311 311 * Return current drive, A: =1, B: =2, etc 312 312 */ 313 INT __cdeclCRTDLL__getdrive(VOID)313 INT CDECL CRTDLL__getdrive(VOID) 314 314 { 315 315 // return DRIVE_GetCurrentDrive() + 1; … … 327 327 * Create a directory. 328 328 */ 329 INT __cdeclCRTDLL__mkdir(LPCSTR newdir)329 INT CDECL CRTDLL__mkdir(LPCSTR newdir) 330 330 { 331 331 if (CreateDirectoryA(newdir,NULL)) … … 342 342 * 343 343 */ 344 INT __cdeclCRTDLL__rmdir(LPSTR dir)344 INT CDECL CRTDLL__rmdir(LPSTR dir) 345 345 { 346 346 if (RemoveDirectoryA(dir)) -
trunk/src/crtdll/spawn.c
r4667 r4672 57 57 58 58 extern void __CRTDLL__set_errno(ULONG err); 59 extern LPVOID __cdeclCRTDLL_calloc(DWORD size, DWORD count);60 extern VOID __cdeclCRTDLL_free(void *ptr);61 extern VOID __cdeclCRTDLL__exit(LONG ret);59 extern LPVOID CDECL CRTDLL_calloc(DWORD size, DWORD count); 60 extern VOID CDECL CRTDLL_free(void *ptr); 61 extern VOID CDECL CRTDLL__exit(LONG ret); 62 62 extern INT CRTDLL_doserrno; 63 63 … … 154 154 * 155 155 */ 156 HANDLE __cdeclCRTDLL__spawnve(INT flags, LPSTR name, LPSTR *argv, LPSTR *envv)156 HANDLE CDECL CRTDLL__spawnve(INT flags, LPSTR name, LPSTR *argv, LPSTR *envv) 157 157 { 158 158 // return (_spawnve(i, s1, s2, s3)); … … 183 183 * system (CRTDLL.485) 184 184 */ 185 INT __cdeclCRTDLL_system(LPSTR x)185 INT CDECL CRTDLL_system(LPSTR x) 186 186 { 187 187 // return system(string);
Note:
See TracChangeset
for help on using the changeset viewer.