syscall.sh / mips64 / close

close

close a file descriptor

sys_close(unsigned int fd)
number5003 (0x138b)
abin64
entry pointsys_close
sinceLinux 5.0
man pageclose(2)
sourceelixir.bootlin.com

Registers

registervalue
v05003, the syscall number
a0unsigned int fd
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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