[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.11 and 1.12

version 1.11, 2002/02/07 07:00:13 version 1.12, 2002/10/01 16:48:34
Line 57  The parameter
Line 57  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.
 .Pp  .Pp
 .Fn sethostname  .Fn sethostname
Line 68  which has length
Line 69  which has length
 This call is restricted to the super-user and  This call is restricted to the super-user and
 is normally used only when the system is bootstrapped.  is normally used only when the system is bootstrapped.
 .Sh RETURN VALUES  .Sh RETURN VALUES
 If the call succeeds a value of 0 is returned.  If the call  If the call succeeds a value of 0 is returned.
 fails, a value of -1 is returned and an error code is  If the call fails, a value of -1 is returned and an error code is
 placed in the global location  placed in the global location
 .Va errno .  .Va errno .
 .Sh ERRORS  .Sh ERRORS

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

CVSweb <webmaster@jp.NetBSD.org>