blob: 29703e86e531513af7d959e0a4da77c4c67170bb [file] [log] [blame]
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
ENTRY(getpid)
movl $__NR_getpid, %eax
int $0x80
cmpl $-129, %eax
jb 1f
negl %eax
pushl %eax
call __set_errno
addl $4, %esp
orl $-1, %eax
1:
ret
END(getpid)