[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/45148: dup2(3) and dup3(3) should support EINVAL
The following reply was made to PR lib/45148; it has been noted by GNATS.
From: Jukka Ruohonen <jruohonen%iki.fi@localhost>
Cc: lib-bug-people%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost,
Subject: Re: lib/45148: dup2(3) and dup3(3) should support EINVAL
Date: Sun, 17 Jul 2011 11:55:15 +0300
On Sun, Jul 17, 2011 at 03:25:02AM +0000, David Holland wrote:
> dup3 should be a superset of dup2, IOW, dup2(a, b) === dup3(a, b, 0).
> Anything else is insane and begging for bizarre problems in the future.
dup3() is Linux-specific function. I think it is important to do what Linux
does. (If it was up to NetBSD, I doubt whether we would even have it.)
Main Index |
Thread Index |