diff options
author | eivind <eivind@FreeBSD.org> | 2003-09-01 14:26:33 +0000 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 2003-09-01 14:26:33 +0000 |
commit | cb6061aa80503dccea34c902ded7519ab9764d29 (patch) | |
tree | c607b50417f50a3824ba40871cdd572dd6e5e6e4 /lib/libc | |
parent | fd3bfcf5e39c77037f821de8a706cb979f6d768f (diff) | |
download | FreeBSD-src-cb6061aa80503dccea34c902ded7519ab9764d29.zip FreeBSD-src-cb6061aa80503dccea34c902ded7519ab9764d29.tar.gz |
Update the kern.osreldate documentation to document the present format
used, and refer to <osreldate.h> to get userland date.
Submitted by: ru
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/sysctl.3 | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3 index 8bf54ab..acda7fc 100644 --- a/lib/libc/gen/sysctl.3 +++ b/lib/libc/gen/sysctl.3 @@ -406,8 +406,23 @@ The maximum number of supplemental groups. .It Li KERN_NISDOMAINNAME The name of the current YP/NIS domain. .It Li KERN_OSRELDATE -The system release date in YYYYMM format -(January 1996 is encoded as 199601). +The kernel release version in the format +.Ar M Ns Ar mm Ns Ar R Ns Ar xx , +where +.Ar M +is the major version, +.Ar mm +is the two digit minor version, +.Ar R +is 0 if release branch, otherwise 1, +and +.Ar xx +is updated when the available APIs change. +.Pp +The userland release version is available from +.Aq Pa osreldate.h ; +parse this file if you need to get the release version of +the currently installed userland. .It Li KERN_OSRELEASE The system release string. .It Li KERN_OSREV |