2013-10-11 00:05:06 +02:00
|
|
|
/* Generated by gensyscalls.py. Do not edit. */
|
|
|
|
|
2013-11-07 19:31:05 +01:00
|
|
|
#include <private/bionic_asm.h>
|
2013-10-11 00:05:06 +02:00
|
|
|
|
2014-08-09 00:19:20 +02:00
|
|
|
.hidden __set_errno
|
|
|
|
|
2013-10-11 00:05:06 +02:00
|
|
|
ENTRY(ftruncate)
|
|
|
|
mov x8, __NR_ftruncate
|
|
|
|
svc #0
|
|
|
|
|
|
|
|
cmn x0, #(MAX_ERRNO + 1)
|
|
|
|
cneg x0, x0, hi
|
|
|
|
b.hi __set_errno
|
|
|
|
|
|
|
|
ret
|
|
|
|
END(ftruncate)
|
|
|
|
|
2014-02-19 01:42:36 +01:00
|
|
|
.globl ftruncate64
|
|
|
|
.equ ftruncate64, ftruncate
|