syscall.sh / arc / shmdt

shmdt

System V shared memory operations

sys_shmdt(char *shmaddr)
number197 (0xc5)
abicommon
entry pointsys_shmdt
sinceLinux 3.9
man pageshmdt(2)
sourceelixir.bootlin.com

Registers

registervalue
r8197, the syscall number
r0char *shmaddr
r0the return value

Then run trap0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/arc/shmdt