2013-10-11 00:05:06 +02:00
|
|
|
/* Generated by gensyscalls.py. Do not edit. */
|
|
|
|
|
2013-11-07 19:31:05 +01:00
|
|
|
#include <private/bionic_asm.h>
|
2013-10-11 00:05:06 +02:00
|
|
|
|
|
|
|
ENTRY(getpeername)
|
|
|
|
mov x8, __NR_getpeername
|
|
|
|
svc #0
|
|
|
|
|
|
|
|
cmn x0, #(MAX_ERRNO + 1)
|
|
|
|
cneg x0, x0, hi
|
2014-09-09 00:25:01 +02:00
|
|
|
b.hi __set_errno_internal
|
2013-10-11 00:05:06 +02:00
|
|
|
|
|
|
|
ret
|
|
|
|
END(getpeername)
|