1
0
Fork 0
mirror of https://github.com/hyprwm/wlroots-hyprland.git synced 2025-01-11 18:29:48 +01:00
wlroots-hyprland/include/util/shm.h
2023-06-05 21:06:19 +00:00

11 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