Duplicates a file descriptor, retrying on EINTR.

Synopsis

Declared in <folly/FileUtil.h>

int
dupNoInt(int fd);

Return Value

The new file descriptor, or ‐1 on error.

Parameters

Name

Description

fd

The file descriptor to duplicate.

Created with MrDocs