]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/platform-bionic.git/blob - libc/arch-x86/syscalls/getgid.S
Merge "syslog needs a valid socket path for _PATH_LOG"
[android-sdk/platform-bionic.git] / libc / arch-x86 / syscalls / getgid.S
1 /* autogenerated by gensyscalls.py */
2 #include <linux/err.h>
3 #include <machine/asm.h>
4 #include <asm/unistd.h>
6 ENTRY(getgid)
7     movl    $__NR_getgid32, %eax
8     int     $0x80
9     cmpl    $-MAX_ERRNO, %eax
10     jb      1f
11     negl    %eax
12     pushl   %eax
13     call    __set_errno
14     addl    $4, %esp
15     orl     $-1, %eax
16 1:
17     ret
18 END(getgid)