You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#ifndef UTIL_SHM_H
|
|
|
|
#define UTIL_SHM_H
|
|
|
|
|
|
|
|
#include <stdbool.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
|