RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Functions

Duplicate an Open File Descriptor. More...

#include <unistd.h>
#include <fcntl.h>
#include <rtems/libio_.h>

Functions

int dup2 (int fildes, int fildes2)
 

Detailed Description

Duplicate an Open File Descriptor.

Function Documentation

◆ dup2()

int dup2 ( int  fildes,
int  fildes2 
)

POSIX 1003.1b 6.2.1 Duplicate an Open File Descriptor