syscall.sh / ppc / accept

accept

accept a connection on a socket

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

Registers

registervalue
r0330, the syscall number
r3int fd
r4struct sockaddr *upeer_sockaddr
r5int *upeer_addrlen
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

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