Home | History | Annotate | Download | only in syscalls
      1 /* Generated by gensyscalls.py. Do not edit. */
      2 
      3 #include <private/bionic_asm.h>
      4 
      5 ENTRY(truncate)
      6     mov     x8, __NR_truncate
      7     svc     #0
      8 
      9     cmn     x0, #(MAX_ERRNO + 1)
     10     cneg    x0, x0, hi
     11     b.hi    __set_errno_internal
     12 
     13     ret
     14 END(truncate)
     15 
     16 ALIAS_SYMBOL(truncate64, truncate)
     17