Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!iuvax!mailrus!cwjcc!hal!ncoast!allbery From: allbery@NCoast.ORG (Brandon S. Allbery) Newsgroups: comp.sources.d Subject: Re: Perl on Microport 286: can't find library routines Message-ID: <1989Sep7.222720.3381@NCoast.ORG> Date: 7 Sep 89 22:27:20 GMT References: <2869@splut.conmicro.com> <9257@attctc.Dallas.TX.US> Reply-To: allbery@ncoast.UUCP (Brandon S. Allbery) Followup-To: comp.sources.d Organization: North Coast Public Access UN*X, Cleveland, OH Lines: 17 dup2() under System V unixes: #include dup2(fd1, fd2) int fd1, fd2; { (void) close(fd2); return fcntl(fd1, F_DUPFD, fd2); } ++Brandon -- Brandon S. Allbery, moderator of comp.sources.misc allbery@NCoast.ORG uunet!hal.cwru.edu!ncoast!allbery ncoast!allbery@hal.cwru.edu "Why do trans-atlantic transfers take so long?" "Electrons don't swim very fast." -john@minster.york.ac.uk and whh@PacBell.COM