syscall.sh / mipsn32 / accept

accept

accept a connection on a socket

sys_accept(int fd, struct sockaddr *upeer_sockaddr, int *upeer_addrlen)
number6042 (0x179a)
abin32
entry pointsys_accept
sinceLinux 5.0
man pageaccept(2)
sourceelixir.bootlin.com

Registers

registervalue
v06042, the syscall number
a0int fd
a1struct sockaddr *upeer_sockaddr
a2int *upeer_addrlen
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/mipsn32/accept