Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!wuarchive!udel!rochester!kodak!eastman!dixel!lrul00 From: lrul00@dixel.Kodak.COM (Richard C. Dempsey) Newsgroups: comp.unix.questions Subject: herror(3) Keywords: ftp tahoe Message-ID: <1323@eastman.UUCP> Date: 17 Aug 90 15:43:53 GMT Sender: news@eastman.UUCP Distribution: na Lines: 22 I just pulled over unix/4.3BSD-tahoe/src/network/ftp.tar.Z from wuarchive.wustl.edu. I can't build it because neither my Ultrix system or my SunOS 4.0.3 system have herror(3) in their libraries. What does it do? More importantly, where can I get it? hp = gethostbyname(host); if (hp == NULL) { fprintf(stderr, "ftp: %s: ", host); =====> herror((char *)NULL); code = -1; return((char *) 0); } I speculate that it prints an appropriate error message, like ferror(3S) or perror(3) ... Thanks, -- Richard C. Dempsey dempsey@Kodak.COM Computational Science Laboratory (716) 477-3457 Eastman Kodak Company #include Rochester, NY 14650