Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libc/gen/uname.3,v rcsdiff: /ftp/cvs/cvsroot/src/lib/libc/gen/uname.3,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.12 retrieving revision 1.12.10.1 diff -u -p -r1.12 -r1.12.10.1 --- src/lib/libc/gen/uname.3 2011/03/30 16:41:00 1.12 +++ src/lib/libc/gen/uname.3 2014/08/20 00:02:14 1.12.10.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: uname.3,v 1.12 2011/03/30 16:41:00 jruoho Exp $ +.\" $NetBSD: uname.3,v 1.12.10.1 2014/08/20 00:02:14 tls Exp $ .\" .\" Copyright (c) 1994 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)uname.3 8.1 (Berkeley) 1/4/94 .\" -.Dd March 30, 2011 +.Dd June 14, 2014 .Dt UNAME 3 .Os .Sh NAME @@ -56,14 +56,35 @@ header file, and contains the following .Bl -tag -width nodenameXXXX -offset indent .It Va sysname Name of the operating system implementation. +Equivalent to the +.Xr sysctl 7 +.Va kern.ostype +variable. .It Va nodename Network name of this machine. +Equivalent to the +.Xr sysctl 7 +.Va kern.hostname +variable. .It Va release Release level of the operating system. +Equivalent to the +.Xr sysctl 7 +.Va kern.osrelease +variable. .It Va version 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 Machine hardware platform. +Equivalent to the +.Xr sysctl 7 +.Va hw.machine +variable. .El .Sh RETURN VALUES If