NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: standards/40554

The following reply was made to PR standards/40554; it has been noted by GNATS.

From: Alan Barrett <>
Subject: Re: standards/40554
Date: Thu, 5 Feb 2009 23:28:54 +0200

 On Thu, 05 Feb 2009, Robert Elz wrote:
 >    |  >  So, what's incorrect about the current wording?
 >  I assumed that he meant that the man page says (simplified)
 >  "duplicate stdout to n2" which kind of suggests dup2(1,n2)
 >  whereas what really happens is dup2(n2,1).
 We could say "redirect file descriptor n1 to a duplicate of file
 descriptor n2".
 --apb (Alan Barrett)

Home | Main Index | Thread Index | Old Index