Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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 000000000..4e6518ffd
--- /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