On Fri, Jul 15, 2011 at 11:49:14AM +0300, Jukka Ruohonen wrote: > Yes, however dup3(2) is not standardized, AFAIR, leaving the behavior > "undefined". And the case (a) should still apply. Yes, I was only meaning to disaprove on applying case (b) to dup2. Martin