repo.or.cz
/
nyanglibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
clarify the purpose of this project
[nyanglibc.git]
/
misc
/
ioctl.shared.s
blob
ec03d29db0aadff15cc97232a1aa750a7e680875
1
.text
2
.globl __ioctl
3
.type __ioctl,@function
4
.align 1<<4
5
__ioctl
:
6
7
movl $
16
, %
eax
8
syscall
9
cmpq $
-
4095
, %
rax
10
jae
0
f
11
ret
12
0
:
movq __libc_errno@GOTTPOFF
(%
rip
), %
rcx
13
neg
%
eax
14
movl
%
eax
, %
fs
:(%
rcx
)
15
or
$
-
1
, %
rax
16
ret
17
.size __ioctl,.-__ioctl
18
.globl __GI___ioctl
19
.set __GI___ioctl,__ioctl
20
.weak ioctl
21
ioctl
=
__ioctl
22
.globl __GI_ioctl
23
.set __GI_ioctl,ioctl