Linux debugging

Check our new training course

Linux debugging, tracing, profiling & perf. analysis

Check our new training course
with Creative Commons CC-BY-SA
lecture and lab materials

Bootlin logo

Elixir Cross Referencer

#include <sys/shm.h>
#include <stdint.h>
#include "syscall.h"
#include "ipc.h"

int shmget(key_t key, size_t size, int flag)
	if (size > PTRDIFF_MAX) size = SIZE_MAX;
#ifdef SYS_shmget
	return syscall(SYS_shmget, key, size, flag);
	return syscall(SYS_ipc, IPCOP_shmget, key, size, flag);