Back to index

glibc  2.9
Functions
dup.c File Reference
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>

Go to the source code of this file.

Functions

int __dup (int fd)

Function Documentation

int __dup ( int  fd)

Definition at line 26 of file dup.c.

{
  return fcntl (fd, F_DUPFD, 0);
}

Here is the call graph for this function:

Here is the caller graph for this function: