aboutsummaryrefslogtreecommitdiff
path: root/include/util/os-compatibility.h
blob: b2ec2db984170075c740caba0aefca60d35cbda9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#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