Gitiles
Code Review
Sign In
review.blissroms.org
/
platform_bionic
/
22c6b7ffd36fe8b34b677eea94d00aef2624e4e8
/
.
/
libc
/
arch-x86
/
syscalls
/
getpid.S
blob: cecaf74bb1c76ceadafe41125ab5cd972719e2fc [
file
] [
log
] [
blame
]
/*
Generated by gensyscalls.py. Do not edit.
*/
#include <private/bionic_asm.h>
ENTRY
(
getpid
)
movl
$
__NR_getpid
,
%eax
int
$
0x80
cmpl
$-
MAX_ERRNO
,
%eax
jb
1
f
negl %eax
pushl %eax
call __set_errno
addl
$
4
,
%esp
orl
$
-1
,
%eax
1
:
ret
END
(
getpid
)