bionic/libc/arch-x86/syscalls/epoll_create.S

22 lines
421 B
ArmAsm
Raw Normal View History

/* autogenerated by gensyscalls.py */
#include <linux/err.h>
#include <machine/asm.h>
#include <asm/unistd.h>
ENTRY(epoll_create)
pushl %ebx
mov 8(%esp), %ebx
movl $__NR_epoll_create, %eax
int $0x80
cmpl $-MAX_ERRNO, %eax
jb 1f
negl %eax
pushl %eax
call __set_errno
addl $4, %esp
orl $-1, %eax
1:
popl %ebx
ret
END(epoll_create)