syscall.sh / microblaze / 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
r126, the syscall number
r5unsigned int fd
r3the return value

Then run brki r14,8 to enter the kernel.

Same syscall on other architectures

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