minor wording updates
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Mon, 12 Oct 1992 00:37:54 +0000 (16:37 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Mon, 12 Oct 1992 00:37:54 +0000 (16:37 -0800)
SCCS-vsn: lib/libc/net/gethostbyname.3 6.15

usr/src/lib/libc/net/gethostbyname.3

index 260b0e0..9876281 100644 (file)
@@ -3,7 +3,7 @@
 .\"
 .\" %sccs.include.redist.man%
 .\"
 .\"
 .\" %sccs.include.redist.man%
 .\"
-.\"     @(#)gethostbyname.3    6.14 (Berkeley) %G%
+.\"     @(#)gethostbyname.3    6.15 (Berkeley) %G%
 .\"
 .Dd 
 .Dt GETHOSTBYNAME 3
 .\"
 .Dd 
 .Dt GETHOSTBYNAME 3
@@ -187,17 +187,20 @@ opening the file if necessary.
 The
 .Fn sethostent
 function
 The
 .Fn sethostent
 function
-is redefined to open and rewind the file.  If the
+opens and/or rewinds the file
+.Pa /etc/hosts .
+If the
 .Fa stayopen
 argument is non-zero,
 .Fa stayopen
 argument is non-zero,
-the hosts data base will not be closed after each call to
+the file will not be closed after each call to
 .Fn gethostbyname
 or
 .Fn gethostbyaddr .
 .Fn gethostbyname
 or
 .Fn gethostbyaddr .
+.Pp
 The
 .Fn endhostent
 function
 The
 .Fn endhostent
 function
-is redefined to close the file.
+closes the file.
 .Sh HISTORY
 The
 .Fn herror
 .Sh HISTORY
 The
 .Fn herror