__connect.S revision ceb5bd787c8ce281e5f4343c5d4f77b41c3e2919
1/* Generated by gensyscalls.py. Do not edit. */
2
3#include <private/bionic_asm.h>
4
5ENTRY(__connect)
6    movl    $__NR_connect, %eax
7    syscall
8    cmpq    $-MAX_ERRNO, %rax
9    jb      1f
10    negl    %eax
11    movl    %eax, %edi
12    call    __set_errno
13    orq     $-1, %rax
141:
15    ret
16END(__connect)
17.hidden __connect
18