[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.8 and 1.8.12.1

version 1.8, 1999/03/22 19:44:42 version 1.8.12.1, 2001/10/08 20:18:59
Line 55  previously set by
Line 55  previously set by
 .Fn sethostname .  .Fn sethostname .
 The parameter  The parameter
 .Fa namelen  .Fa namelen
 specifies the size of the  specifies the size of the
 .Fa name  .Fa name
 array.  The returned name is null-terminated unless insufficient  array.  The returned name is null-terminated unless insufficient
 space is provided.  space is provided.
Line 86  invalid address.
Line 86  invalid address.
 The caller tried to set the hostname and was not the super-user.  The caller tried to set the hostname and was not the super-user.
 .El  .El
 .Sh SEE ALSO  .Sh SEE ALSO
 .Xr sysctl 3 ,  
 .Xr gethostid 3 ,  .Xr gethostid 3 ,
   .Xr sysctl 3 ,
 .Xr sysctl 8  .Xr sysctl 8
 .Sh STANDARDS  .Sh STANDARDS
 The  The
 .Fn gethostname  .Fn gethostname
 function conforms to  function conforms to
 .St -xpg4.2 .  .St -xpg4.2 .
   .Sh HISTORY
   The
   .Nm
   function call appeared in
   .Bx 4.2 .
 .Sh BUGS  .Sh BUGS
 Host names are limited to  Host names are limited to
 .Dv MAXHOSTNAMELEN  .Dv MAXHOSTNAMELEN
 (from  (from
 .Ao Pa sys/param.h Ac )  .Ao Pa sys/param.h Ac )
 characters including null-termination, currently 256.  characters including null-termination, currently 256.
 .Sh HISTORY  
 The  
 .Nm  
 function call appeared in  
 .Bx 4.2 .  

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.8.12.1

CVSweb <webmaster@jp.NetBSD.org>