[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
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 |