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/sysvi386/geteuid.s')
-rw-r--r--newlib/libc/sys/sysvi386/geteuid.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/newlib/libc/sys/sysvi386/geteuid.s b/newlib/libc/sys/sysvi386/geteuid.s
new file mode 100644
index 000000000..ae45c473f
--- /dev/null
+++ b/newlib/libc/sys/sysvi386/geteuid.s
@@ -0,0 +1,9 @@
+ .globl _geteuid
+ .globl geteuid
+_geteuid:
+geteuid:
+ movl $0x18, %eax
+ lcall $7,$0
+ movl %edx,%eax
+ jb _cerror
+ ret