summaryrefslogtreecommitdiffstats
path: root/libc/arch-arm64/syscalls/settimeofday.S
blob: 357998cd444c06d462d61c26f5af3f6890d2c59a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* Generated by gensyscalls.py. Do not edit. */

#include <private/bionic_asm.h>

    .hidden __set_errno

ENTRY(settimeofday)
    mov     x8, __NR_settimeofday
    svc     #0

    cmn     x0, #(MAX_ERRNO + 1)
    cneg    x0, x0, hi
    b.hi    __set_errno

    ret
END(settimeofday)