blob: 66b3a654532dd07a276af351843abc39e40ba7dd [file] [log] [blame]
/* autogenerated by gensyscalls.py */
#include <linux/err.h>
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
ENTRY(inotify_init)
pushl %ebx
mov 8(%esp), %ebx
movl $__NR_inotify_init, %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(inotify_init)