mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-28 18:12:30 +00:00
12 lines
218 B
C
12 lines
218 B
C
#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
|