2 ; Ullrich von Bassewitz, 2003-08-12
4 ; int __fastcall__ chdir (const char* name);
13 ;--------------------------------------------------------------------------
14 ; The function calls __syschdir, which must check the directory, set it, and
15 ; copy it to __cwd if it is valid. The copycwd may be used for the latter.
19 jsr __syschdir ; Call the machine specific function
20 jmp oserrcheck ; Store into _oserror, set errno, return 0/-1