summaryrefslogtreecommitdiff
path: root/newlib/libc/sys/go32/findnext.s
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/go32/findnext.s')
-rw-r--r--newlib/libc/sys/go32/findnext.s16
1 files changed, 16 insertions, 0 deletions
diff --git a/newlib/libc/sys/go32/findnext.s b/newlib/libc/sys/go32/findnext.s
new file mode 100644
index 00000000000..4e6518ffd8c
--- /dev/null
+++ b/newlib/libc/sys/go32/findnext.s
@@ -0,0 +1,16 @@
+ .globl _findnext
+_findnext:
+ pushl %ebx
+ pushl %esi
+ pushl %edi
+ movl 16(%esp),%edx
+ movb $0x1a,%ah
+ int $0x21
+
+ movb $0x4f,%ah
+ int $0x21
+
+ popl %edi
+ popl %esi
+ popl %ebx
+ jmp syscall_check