RTEMS: cpukit/libcsupport/src/dup2.c File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Functions
dup2.c File Reference
Internal » Standard C Library Support

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