]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/platform-bionic.git/blob - libc/arch-x86/syscalls/__getpid.S
Cache getpid.
[android-sdk/platform-bionic.git] / libc / arch-x86 / syscalls / __getpid.S
1 /* Generated by gensyscalls.py. Do not edit. */
3 #include <private/bionic_asm.h>
5 ENTRY(__getpid)
6     movl    $__NR_getpid, %eax
7     int     $0x80
8     cmpl    $-MAX_ERRNO, %eax
9     jb      1f
10     negl    %eax
11     pushl   %eax
12     call    __set_errno
13     addl    $4, %esp
14 1:
15     ret
16 END(__getpid)