diff options
Diffstat (limited to 'newlib/libc/sys/sysvi386/chdir.s')
-rw-r--r-- | newlib/libc/sys/sysvi386/chdir.s | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/newlib/libc/sys/sysvi386/chdir.s b/newlib/libc/sys/sysvi386/chdir.s new file mode 100644 index 0000000..9974c86 --- /dev/null +++ b/newlib/libc/sys/sysvi386/chdir.s @@ -0,0 +1,9 @@ + .globl _chdir + .globl chdir +_chdir: +chdir: + movl $0xc, %eax + lcall $7,$0 + jb _cerror + xor %eax, %eax + ret |