Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!rbj From: rbj@uunet.UU.NET (Root Boy Jim) Newsgroups: comp.unix.wizards Subject: Re: dup2 Message-ID: <122373@uunet.UU.NET> Date: 11 Feb 91 19:46:50 GMT References: <27B1CA1C.22559@ics.uci.edu> <15136@smoke.brl.mil> Organization: UUNET Communications Services, Falls Church, VA Lines: 16 In article <15136@smoke.brl.mil> gwyn@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 I got a head full of ideas They're driving me insane