]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/platform-bionic.git/blob - libc/arch-x86/syscalls/recvmsg.S
auto import from //depot/cupcake/@135843
[android-sdk/platform-bionic.git] / libc / arch-x86 / syscalls / recvmsg.S
1 /* autogenerated by gensyscalls.py */
2 #include <sys/linux-syscalls.h>
4     .text
5     .type recvmsg, @function
6     .globl recvmsg
7     .align 4
9 recvmsg:
10     pushl   %ebx
11     pushl   %ecx
12     mov     $17, %ebx
13     mov     %esp, %ecx
14     addl    $12, %ecx
15     movl    $__NR_socketcall, %eax
16     int     $0x80
17     cmpl    $-129, %eax
18     jb      1f
19     negl    %eax
20     pushl   %eax
21     call    __set_errno
22     addl    $4, %esp
23     orl     $-1, %eax
24 1:
25     popl    %ecx
26     popl    %ebx
27     ret