wlroots-hyprland/include/util/shm.h

12 lines
218 B
C
Raw Normal View History

#ifndef UTIL_SHM_H
#define UTIL_SHM_H
#include <stdbool.h>
2023-06-05 22:45:28 +02:00
#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