• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Generated by gensyscalls.py. Do not edit. */
2 
3 #include <private/bionic_asm.h>
4 
5 ENTRY(socketpair)
6     movq    %rcx, %r10
7     movl    $__NR_socketpair, %eax
8     syscall
9     cmpq    $-MAX_ERRNO, %rax
10     jb      1f
11     negl    %eax
12     movl    %eax, %edi
13     call    __set_errno_internal
14 1:
15     ret
16 END(socketpair)
17