blob: a06b3ec37e16cdb019090ec769115ae2686cff78 [file] [log] [blame]
/* Generated by gensyscalls.py. Do not edit. */
#include <private/bionic_asm.h>
ENTRY(lseek)
movl $__NR_lseek, %eax
syscall
cmpq $-MAX_ERRNO, %rax
jb 1f
negl %eax
movl %eax, %edi
call __set_errno
orq $-1, %rax
1:
ret
END(lseek)
.globl _C_LABEL(lseek64)
.equ _C_LABEL(lseek64), _C_LABEL(lseek)