summaryrefslogtreecommitdiff
path: root/newlib/libc/sys/sysvi386/getdents.s
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/sysvi386/getdents.s')
-rw-r--r--newlib/libc/sys/sysvi386/getdents.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/newlib/libc/sys/sysvi386/getdents.s b/newlib/libc/sys/sysvi386/getdents.s
new file mode 100644
index 00000000000..524a88727ad
--- /dev/null
+++ b/newlib/libc/sys/sysvi386/getdents.s
@@ -0,0 +1,6 @@
+ .globl _getdents
+_getdents:
+ movl $0x51, %eax
+ lcall $7,$0
+ jb _cerror
+ ret