blob: df43b880d976be82c9b6b07e19c24570a2c2c461 [file] [log] [blame]
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08001/* autogenerated by gensyscalls.py */
2#include <sys/linux-syscalls.h>
3
4 .text
5 .type getpid, @function
6 .globl getpid
7 .align 4
8
9getpid:
10 movl $__NR_getpid, %eax
11 int $0x80
12 cmpl $-129, %eax
13 jb 1f
14 negl %eax
15 pushl %eax
16 call __set_errno
17 addl $4, %esp
18 orl $-1, %eax
191:
20 ret