syscall.sh / arm / close

close

close a file descriptor

sys_close(unsigned int fd)
number6 (0x6)
abicommon
entry pointsys_close
sinceLinux 4.10
man pageclose(2)
sourceelixir.bootlin.com

Registers

registervalue
r76, the syscall number
r0unsigned int fd
r0the return value

Then run svc #0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/arm/close