From e2c2aa2506dd6b1c3ef1ca070b1406e1fbc3b7d9 Mon Sep 17 00:00:00 2001 From: Zachary Lebold Date: Mon, 7 Mar 2016 02:24:48 -0500 Subject: [PATCH] Update dup2.html Fix references to file descriptor as file handle. --- man/syscall/dup2.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/man/syscall/dup2.html b/man/syscall/dup2.html index 8392a86..2257de3 100644 --- a/man/syscall/dup2.html +++ b/man/syscall/dup2.html @@ -55,9 +55,9 @@ Standard C Library (libc, -lc)

Description

-dup2 clones the file handle oldfd onto the file -handle newfd. If newfd names an already-open file, -that file is closed. +dup2 clones the file handle identifed by file descriptor oldfd +onto the file handle identified by newfd. If newfd +names an already-open file, that file is closed.

@@ -74,8 +74,8 @@ dup2 is most commonly used to relocate opened files onto

-Both filehandles must be non-negative, and, if applicable, smaller -than the maximum allowed file handle number. +Both file descriptors must be non-negative, and, if applicable, +smaller than the maximum allowed file handle number.

@@ -116,9 +116,9 @@ here.   EBADF oldfd is not a valid file - handle, or newfd is a value + descriptor, or newfd is a value that cannot be a valid file - handle. + descriptor. EMFILE The process's file table was full, or a process-specific limit on open files was reached.