summaryrefslogtreecommitdiff
path: root/kernel/fs/shm.h
blob: fbbdb5c16187187feabefc34b7a3e51f5cb34c6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef SHM_H
#define SHM_H
#include <stddef.h>
#include <stdint.h>

typedef int mode_t;

void shm_init(void);
int shm_open(const char *name, int oflag, mode_t mode);
int shm_unlink(const char *name);
int ftruncate(int fildes, uint64_t length);

#endif