blob: cf4837f33827b5cb80002aa7c4c2e8b81a6e0953 [file] [log] [blame]
Andrei Emeltchenko8f2a30a2014-03-26 15:50:01 +02001/* Generated by gensyscalls.py. Do not edit. */
2
3#include <private/bionic_asm.h>
4
Sreeram Ramachandran903b7882014-05-19 13:39:57 -07005ENTRY(__accept4)
Andrei Emeltchenko8f2a30a2014-03-26 15:50:01 +02006 movq %rcx, %r10
7 movl $__NR_accept4, %eax
8 syscall
9 cmpq $-MAX_ERRNO, %rax
10 jb 1f
11 negl %eax
12 movl %eax, %edi
13 call __set_errno
14 orq $-1, %rax
151:
16 ret
Sreeram Ramachandran903b7882014-05-19 13:39:57 -070017END(__accept4)
18.hidden __accept4