syscall.sh / sparc / close

close

close a file descriptor

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

Registers

registervalue
g16, the syscall number
o0unsigned int fd
o0the return value

Then run t 0x10 to enter the kernel.

Same syscall on other architectures

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