]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/platform-bionic.git/blob - libc/arch-x86/syscalls/sendmmsg.S
Merge "Renamed the misleading libc/netbsd directory to libc/dns."
[android-sdk/platform-bionic.git] / libc / arch-x86 / syscalls / sendmmsg.S
1 /* Generated by gensyscalls.py. Do not edit. */
3 #include <private/bionic_asm.h>
5 ENTRY(sendmmsg)
6     pushl   %ebx
7     pushl   %ecx
8     .cfi_def_cfa_offset 8
9     .cfi_rel_offset ebx, 0
10     .cfi_rel_offset ecx, 4
11     mov     $20, %ebx
12     mov     %esp, %ecx
13     addl    $12, %ecx
14     movl    $__NR_socketcall, %eax
15     int     $0x80
16     cmpl    $-MAX_ERRNO, %eax
17     jb      1f
18     negl    %eax
19     pushl   %eax
20     call    __set_errno
21     addl    $4, %esp
22     orl     $-1, %eax
23 1:
24     popl    %ecx
25     popl    %ebx
26     ret
27 END(sendmmsg)