diff options
Diffstat (limited to 'libc/arch-arm64/syscalls/___close.S')
-rw-r--r-- | libc/arch-arm64/syscalls/___close.S | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libc/arch-arm64/syscalls/___close.S b/libc/arch-arm64/syscalls/___close.S new file mode 100644 index 0000000..8fb8361 --- /dev/null +++ b/libc/arch-arm64/syscalls/___close.S @@ -0,0 +1,15 @@ +/* Generated by gensyscalls.py. Do not edit. */ + +#include <private/bionic_asm.h> + +ENTRY(___close) + mov x8, __NR_close + svc #0 + + cmn x0, #(MAX_ERRNO + 1) + cneg x0, x0, hi + b.hi __set_errno_internal + + ret +END(___close) +.hidden ___close |