summaryrefslogtreecommitdiff
path: root/scalls/shm.h
blob: 80e43665ee189cd9ef127f54898110cfea06cbdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef SYS_SHM_H
#define SYS_SHM_H
#include <stddef.h>
#include <stdint.h>
typedef int mode_t;

typedef struct SYS_SHM_OPEN_PARAMS {
  const char *name;
  int oflag;
  mode_t mode;
} __attribute__((packed)) SYS_SHM_OPEN_PARAMS;

int syscall_shm_open(SYS_SHM_OPEN_PARAMS *args);
#endif