gsasl  1.10.0
About: GNU SASL is an implementation of the Simple Authentication and Security Layer (SASL). Development version.
  Fossies Dox: gsasl-1.10.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

fcntl.c File Reference
#include <config.h>
#include <fcntl.h>
#include <errno.h>
#include <limits.h>
#include <stdarg.h>
#include <stdlib.h>
#include <unistd.h>
Include dependency graph for fcntl.c:

Go to the source code of this file.

Functions

static int rpl_fcntl_DUPFD (int fd, int target)
 
static int rpl_fcntl_DUPFD_CLOEXEC (int fd, int target)
 
int fcntl (int fd, int action,...)
 

Function Documentation

◆ fcntl()

int fcntl ( int  fd,
int  action,
  ... 
)

◆ rpl_fcntl_DUPFD()

static int rpl_fcntl_DUPFD ( int  fd,
int  target 
)
static

Definition at line 447 of file fcntl.c.

References F_DUPFD, F_GETFD, fcntl(), and getdtablesize().

Referenced by fcntl(), and rpl_fcntl_DUPFD_CLOEXEC().

◆ rpl_fcntl_DUPFD_CLOEXEC()

static int rpl_fcntl_DUPFD_CLOEXEC ( int  fd,
int  target 
)
static

Definition at line 488 of file fcntl.c.

References F_DUPFD_CLOEXEC, F_GETFD, fcntl(), FD_CLOEXEC, GNULIB_defined_F_DUPFD_CLOEXEC, O_CLOEXEC, and rpl_fcntl_DUPFD().

Referenced by fcntl().