1 /* Generated by gensyscalls.py. Do not edit. */ 2 3 #include <private/bionic_asm.h> 4 5 ENTRY(ftruncate64) 6 pushl %ebx 7 .cfi_def_cfa_offset 8 8 .cfi_rel_offset ebx, 0 9 pushl %ecx 10 .cfi_adjust_cfa_offset 4 11 .cfi_rel_offset ecx, 0 12 pushl %edx 13 .cfi_adjust_cfa_offset 4 14 .cfi_rel_offset edx, 0 15 mov 16(%esp), %ebx 16 mov 20(%esp), %ecx 17 mov 24(%esp), %edx 18 movl $__NR_ftruncate64, %eax 19 int $0x80 20 cmpl $-MAX_ERRNO, %eax 21 jb 1f 22 negl %eax 23 pushl %eax 24 call __set_errno_internal 25 addl $4, %esp 26 1: 27 popl %edx 28 popl %ecx 29 popl %ebx 30 ret 31 END(ftruncate64) 32