[BACK]Return to gethostname.3 CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / gen

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/gen/gethostname.3 between version 1.6 and 1.7

version 1.6, 1998/05/06 19:48:39 version 1.7, 1998/08/29 08:32:33
Line 49 
Line 49 
 .Ft int  .Ft int
 .Fn sethostname "const char *name" "size_t namelen"  .Fn sethostname "const char *name" "size_t namelen"
 .Sh DESCRIPTION  .Sh DESCRIPTION
 .Fn Gethostname  .Fn gethostname
 returns the standard host name for the current processor, as  returns the standard host name for the current processor, as
 previously set by  previously set by
 .Fn sethostname .  .Fn sethostname .
Line 60  specifies the size of the 
Line 60  specifies the size of the 
 array.  The returned name is null-terminated unless insufficient  array.  The returned name is null-terminated unless insufficient
 space is provided.  space is provided.
 .Pp  .Pp
 .Fn Sethostname  .Fn sethostname
 sets the name of the host machine to be  sets the name of the host machine to be
 .Fa name ,  .Fa name ,
 which has length  which has length

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

CVSweb <webmaster@jp.NetBSD.org>