syscall.sh / alpha / close_range

close_range

close all file descriptors in a given range

sys_close_range(unsigned int fd, unsigned int max_fd, unsigned int flags)
number546 (0x222)
abicommon
entry pointsys_close_range
sinceLinux 5.9
man pageclose_range(2)
sourceelixir.bootlin.com

Registers

registervalue
v0546, the syscall number
a0unsigned int fd
a1unsigned int max_fd
a2unsigned int flags
v0the return value

Then run callsys to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/alpha/close_range