Gitiles
Code Review
Sign In
review.blissroms.org
/
platform_bionic
/
HEAD
/
.
/
libc
/
arch-arm64
/
syscalls
/
sethostname.S
blob: 2dea4570e0b92e161c0e98597a814baeaa53d48b [
file
] [
log
] [
blame
]
Elliott Hughes
b86a4c7
2014-11-07 16:07:13 -0800
[
diff
] [
blame
]
1
/*
Generated by gensyscalls.py. Do not edit.
*/
2
3
#include <private/bionic_asm.h>
4
5
ENTRY
(
sethostname
)
6
mov x8
,
__NR_sethostname
7
svc
#0
8
9
cmn x0
,
#(MAX_ERRNO + 1)
10
cneg x0
,
x0
,
hi
11
b.hi __set_errno_internal
12
13
ret
14
END
(
sethostname
)