mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-02 20:05:58 +01:00
cef6d75491
* Moved os-compatibility.c to util * Added header under util * Removed static since it isn't needed (i think so) * Adjusted meson.build to include lib_wlr Improved some codestyle * Added guard to os-compatibility.h * Fixed typo in include statment Adjusted Guard * Changed guard to _WLR_UTIL_OS_COMPATIBILITY
12 lines
236 B
C
12 lines
236 B
C
#ifndef _WLR_UTIL_OS_COMPATIBILITY_H
|
|
#define _WLR_UTIL_OS_COMPATIBILITY_H
|
|
|
|
int os_fd_set_cloexec(int fd);
|
|
|
|
int set_cloexec_or_close(int fd);
|
|
|
|
int create_tmpfile_cloexec(char *tmpname);
|
|
|
|
int os_create_anonymous_file(off_t size);
|
|
|
|
#endif
|