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