syscall.sh / alpha / shmget

shmget

allocates a System V shared memory segment

sys_shmget(key_t key, size_t size, int flag)
number212 (0xd4)
abicommon
entry pointsys_shmget
sinceLinux 5.0
man pageshmget(2)
sourceelixir.bootlin.com

Registers

registervalue
v0212, the syscall number
a0key_t key
a1size_t size
a2int flag
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/shmget