syscall.sh / xtensa / accept

accept

accept a connection on a socket

sys_accept(int fd, struct sockaddr *upeer_sockaddr, int *upeer_addrlen)
number103 (0x67)
abicommon
entry pointsys_accept
sinceLinux 5.0
man pageaccept(2)
sourceelixir.bootlin.com

Registers

registervalue
a2103, the syscall number
a6int fd
a3struct sockaddr *upeer_sockaddr
a4int *upeer_addrlen
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/accept