clarify the purpose of this project
[nyanglibc.git] / rt / aio_read.s
blob2c3834305ad7683470fa92040f1525fef0b9df79
1 .text
2 .p2align 4,,15
3 .globl aio_read
4 .type aio_read, @function
5 aio_read:
6 subq $8, %rsp
7 xorl %esi, %esi
8 call __aio_enqueue_request@PLT
9 testq %rax, %rax
10 sete %al
11 addq $8, %rsp
12 movzbl %al, %eax
13 negl %eax
14 ret
15 .size aio_read, .-aio_read
16 .weak aio_read64
17 .set aio_read64,aio_read