Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!AUREL.CALTECH.EDU!bfox From: bfox@AUREL.CALTECH.EDU (Brian Fox) Newsgroups: gnu.bash.bug Subject: gethostname () Message-ID: <8906192042.AA01481@aurel.caltech.edu> Date: 19 Jun 89 20:42:13 GMT Sender: daemon@tut.cis.ohio-state.edu Reply-To: bfox@ai.mit.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 15 >What is the right code? I don't have a sys v system. If you tell me >what it is, I'll just put it in. > >Brian Fox Here is a version of `gethostname()' for sys v systems that should do what the Foxes (;-) want. Now Sys 5 systems don't have to be special-cased there. Chet Ramey Network Services Group, CWRU chet@cwjcc.INS.CWRU.Edu Thanks! Included. Brian