[BACK]Return to uname.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/uname.3 between version 1.11 and 1.12.20.1

version 1.11, 2010/04/27 15:16:28 version 1.12.20.1, 2014/08/10 06:51:50
Line 29 
Line 29 
 .\"  .\"
 .\"     @(#)uname.3     8.1 (Berkeley) 1/4/94  .\"     @(#)uname.3     8.1 (Berkeley) 1/4/94
 .\"  .\"
 .Dd April 27, 2010  .Dd June 14, 2014
 .Dt UNAME 3  .Dt UNAME 3
 .Os  .Os
 .Sh NAME  .Sh NAME
Line 49  the current system into the structure re
Line 49  the current system into the structure re
 .Fa name .  .Fa name .
 .Pp  .Pp
 The  The
 .Li utsname  .Em utsname
 structure is defined in the  structure is defined in the
 .In sys/utsname.h  .In sys/utsname.h
 header file, and contains the following members:  header file, and contains the following members:
 .Bl -tag -width nodenameXXXX -offset indent  .Bl -tag -width nodenameXXXX -offset indent
 .It Va sysname  .It Va sysname
 Name of the operating system implementation.  Name of the operating system implementation.
   Equivalent to the
   .Xr sysctl 7
   .Va kern.ostype
   variable.
 .It Va nodename  .It Va nodename
 Network name of this machine.  Network name of this machine.
   Equivalent to the
   .Xr sysctl 7
   .Va kern.hostname
   variable.
 .It Va release  .It Va release
 Release level of the operating system.  Release level of the operating system.
   Equivalent to the
   .Xr sysctl 7
   .Va kern.osrelease
   variable.
 .It Va version  .It Va version
 Version level of the operating system.  Version level of the operating system.
   Equivalent to the
   .Xr sysctl 7
   .Va kern.version
   variable, except that very long values are truncated,
   and newlines are converted to spaces.
 .It Va machine  .It Va machine
 Machine hardware platform.  Machine hardware platform.
   Equivalent to the
   .Xr sysctl 7
   .Va hw.machine
   variable.
 .El  .El
 .Sh RETURN VALUES  .Sh RETURN VALUES
 If  If

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

CVSweb <webmaster@jp.NetBSD.org>