Back to index

nagios-plugins  1.4.16
Functions
dup-safer.c File Reference
#include <config.h>
#include "unistd-safer.h"
#include <fcntl.h>
#include <unistd.h>

Go to the source code of this file.

Functions

int dup_safer (int fd)

Function Documentation

int dup_safer ( int  fd)

Definition at line 31 of file dup-safer.c.

{
  return fcntl (fd, F_DUPFD, STDERR_FILENO + 1);
}

Here is the caller graph for this function: