dup2

Root Boy Jim rbj at uunet.UU.NET
Tue Feb 12 06:46:50 AEST 1991


In article <15136 at smoke.brl.mil> gwyn at smoke.brl.mil (Doug Gwyn) writes:
>/*
>	dup2 -- 7th Edition UNIX system call emulation for UNIX System V
>*/

Do you mean that V7 had dup2 but System V doesn't?

And what about systems that don't have fcntl?

BTW, folks, I missed the case where newfd==oldfd. My (mis)reading
of the manual led me to believe that you should get nothing but an error.
In any case, it's a trivial fix.
-- 
	Root Boy Jim Cottrell <rbj at uunet.uu.net>
	I got a head full of ideas
	They're driving me insane



More information about the Comp.unix.wizards mailing list