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]
/
io
/
sendfile.s
blob
f5c4cedc2fdbb580dfc50368ce36d26a8b1291eb
1
.text
2
.globl sendfile
3
.type sendfile,@function
4
.align 1<<4
5
sendfile
:
6
movq
%
rcx
, %
r10
7
movl $
40
, %
eax
8
syscall
9
cmpq $
-
4095
, %
rax
10
jae
0
f
11
ret
12
0
:
13
movq __libc_errno@GOTTPOFF
(%
rip
), %
rcx
14
neg
%
eax
15
movl
%
eax
, %
fs
:(%
rcx
)
16
or
$
-
1
, %
rax
17
ret
18
.size sendfile,.-sendfile
19
.weak sendfile64
20
sendfile64
=
sendfile