diff options
author | ambrisko <ambrisko@FreeBSD.org> | 2005-12-03 05:11:07 +0000 |
---|---|---|
committer | ambrisko <ambrisko@FreeBSD.org> | 2005-12-03 05:11:07 +0000 |
commit | 51d3b3edd07d501f9272f937cb63bea7e0d6fae1 (patch) | |
tree | 7a1ff1581632aadb1700b0e34fd2b550177ff557 /lib/libc/gen/getosreldate.3 | |
parent | b7c797730221439cd9b743de90a62191a1955ac4 (diff) | |
download | FreeBSD-src-51d3b3edd07d501f9272f937cb63bea7e0d6fae1.zip FreeBSD-src-51d3b3edd07d501f9272f937cb63bea7e0d6fae1.tar.gz |
Switch BUILD_ARCH in Makefile to use uname -p suggested by ru.
Switch strncpy to strlcpy suggested by gad and issue found by pjd.
Add to uname(3) man page describing:
UNAME_s
UNAME_r
UNAME_v
UNAME_m
Add to getosreldate(3) man page describing:
OSVERSION
Submitted by: ru, pjd/gad
Reviewed by: ru (man pages)
Diffstat (limited to 'lib/libc/gen/getosreldate.3')
-rw-r--r-- | lib/libc/gen/getosreldate.3 | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/libc/gen/getosreldate.3 b/lib/libc/gen/getosreldate.3 index 78dc7e5..ff4d10e 100644 --- a/lib/libc/gen/getosreldate.3 +++ b/lib/libc/gen/getosreldate.3 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 30, 2003 +.Dd December 2, 2005 .Dt GETOSRELDATE 3 .Os .Sh NAME @@ -55,6 +55,15 @@ returns the value requested; otherwise the value \-1 is returned and the global variable .Va errno is set to indicate the error. +.Sh ENVIRONMENT +.Bl -tag -width ".Ev OSVERSION" +.It Ev OSVERSION +If the environment variable +.Ev OSVERSION +is set, it will override the +.Fn getosreldate +return value. +.El .Sh EXAMPLES An example can be found in .Pa /usr/share/examples/FreeBSD_version . |