blob: 62407fef81902f0902ad934655bd30ea2f538b06 [file] [log] [blame]
/* Generated by gensyscalls.py. Do not edit. */
#include <private/bionic_asm.h>
ENTRY(nanosleep)
movl $__NR_nanosleep, %eax
syscall
cmpq $-MAX_ERRNO, %rax
jb 1f
negl %eax
movl %eax, %edi
call PIC_PLT(__set_errno)
1:
ret
END(nanosleep)