clarify the purpose of this project
[nyanglibc.git] / misc / epoll_create1.s
blob2fd0930c0bce22843746fb35ce36634f5d77b6ee
1 .text
2 .globl epoll_create1
3 .type epoll_create1,@function
4 .align 1<<4
5 epoll_create1:
7 movl $291, %eax
8 syscall
9 cmpq $-4095, %rax
10 jae 0f
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 epoll_create1,.-epoll_create1