aboutsummaryrefslogtreecommitdiff
path: root/include/util/shm.h
blob: 3beabcabcb4ab2654030d788575b10fed61b50e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef UTIL_SHM_H
#define UTIL_SHM_H

#include <stdbool.h>
#include <stddef.h>

int create_shm_file(void);
int allocate_shm_file(size_t size);
bool allocate_shm_file_pair(size_t size, int *rw_fd, int *ro_fd);

#endif