aboutsummaryrefslogtreecommitdiff
path: root/include/util/os-compatibility.h
blob: 2038025e8fb8e8ad8245750c871b5965fc4d9a59 (plain)
1
2
3
4
5
6
7
8
9
#ifndef UTIL_OS_COMPATIBILITY_H
#define 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