RTEMS  5.0.0
Functions
dup2.c File Reference

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