|
FreeRDP
|
#include <sys/types.h>#include <sys/socket.h>#include <unistd.h>#include <fcntl.h>#include <errno.h>#include <stdlib.h>#include <stdio.h>#include <string.h>#include <sys/epoll.h>#include <uwac/config.h>#include "uwac-os.h"#include "uwac-utils.h"Macros | |
| #define | _GNU_SOURCE |
| #define | O_TMPFILE (020000000 | O_DIRECTORY) |
Functions | |
| static int | set_cloexec_or_close (int fd) |
| int | uwac_os_socket_cloexec (int domain, int type, int protocol) |
| int | uwac_os_dupfd_cloexec (int fd, long minfd) |
| static ssize_t | recvmsg_cloexec_fallback (int sockfd, struct msghdr *msg, int flags) |
| ssize_t | uwac_os_recvmsg_cloexec (int sockfd, struct msghdr *msg, int flags) |
| int | uwac_os_epoll_create_cloexec (void) |
| static int | create_tmpfile_cloexec (char *tmpname) |
| int | uwac_create_anonymous_file (off_t size) |
| #define _GNU_SOURCE |
| #define O_TMPFILE (020000000 | O_DIRECTORY) |
|
static |


|
static |


|
static |

| int uwac_create_anonymous_file | ( | off_t | size | ) |


| int uwac_os_dupfd_cloexec | ( | int | fd, |
| long | minfd | ||
| ) |

| int uwac_os_epoll_create_cloexec | ( | void | ) |


| ssize_t uwac_os_recvmsg_cloexec | ( | int | sockfd, |
| struct msghdr * | msg, | ||
| int | flags | ||
| ) |

| int uwac_os_socket_cloexec | ( | int | domain, |
| int | type, | ||
| int | protocol | ||
| ) |
