FreeRDP
uwac-os.c File Reference
#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 "../config.h"
#include "uwac-os.h"

Macros

#define _GNU_SOURCE
 

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)
 

Macro Definition Documentation

#define _GNU_SOURCE

Function Documentation

static int create_tmpfile_cloexec ( char *  tmpname)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static ssize_t recvmsg_cloexec_fallback ( int  sockfd,
struct msghdr *  msg,
int  flags 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static int set_cloexec_or_close ( int  fd)
static

Here is the caller graph for this function:

int uwac_create_anonymous_file ( off_t  size)

Here is the call graph for this function:

Here is the caller graph for this function:

int uwac_os_dupfd_cloexec ( int  fd,
long  minfd 
)

Here is the call graph for this function:

int uwac_os_epoll_create_cloexec ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

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

Here is the call graph for this function: