pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/libkver/files/lib Fix xref, sort sections, us...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ee8f6e0f1ce6
branches: trunk
changeset: 610620:ee8f6e0f1ce6
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Oct 31 22:55:40 2012 +0000
description:
Fix xref, sort sections, use more markup, remove superfluous Pp.
diffstat:
pkgtools/libkver/files/lib/kver.3 | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diffs (60 lines):
diff -r 8ef5f411648f -r ee8f6e0f1ce6 pkgtools/libkver/files/lib/kver.3
--- a/pkgtools/libkver/files/lib/kver.3 Wed Oct 31 22:49:05 2012 +0000
+++ b/pkgtools/libkver/files/lib/kver.3 Wed Oct 31 22:55:40 2012 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: kver.3,v 1.4 2012/10/31 14:47:08 apb Exp $
+.\" $NetBSD: kver.3,v 1.5 2012/10/31 22:55:40 wiz Exp $
.\"
.Dd October 31, 2012
.Os
@@ -22,7 +22,8 @@
release then the system hosting the sandbox.
.Pp
The library is usually loaded by the run-time link-editor via the
-LD_PRELOAD hook.
+.Ev LD_PRELOAD
+hook.
The
.Xr kver 8
utility provides a simple wrapper for convenience.
@@ -31,7 +32,7 @@
.Nm
first attempts to obtain an override value from an environment variable;
if the environment variable is not set then it uses
-.Xr readlink 3
+.Xr readlink 2
to get the target of a symbolic link, and treats that as the override value;
if that also fails, then the variable is not overridden.
If none of the variables are overridden, or if an error occurs, then
@@ -123,18 +124,11 @@
.Fl p
flag.
.El
-.Pp
.Sh EXAMPLES
.Dl env LD_PRELOAD=/lib/libkver.so LIBKVER_OSRELEASE=1.5 uname -r
.Pp
.Dl ln -s 1.6.2 /libkver_osrelease
.Dl env LD_PRELOAD=/lib/libkver.so uname -r
-.Sh SEE ALSO
-.Xr ld.so 1 ,
-.Xr uname 1 ,
-.Xr sysctl 3 ,
-.Xr uname 3 ,
-.Xr kver 8
.Sh DIAGNOSTICS
.Bl -diag
.It "libkver: uname"
@@ -152,6 +146,12 @@
.Va kern.osrevision
.Xr sysctl 7
variable.
+.Sh SEE ALSO
+.Xr ld.so 1 ,
+.Xr uname 1 ,
+.Xr sysctl 3 ,
+.Xr uname 3 ,
+.Xr kver 8
.Sh AUTHORS
.An Stoned Elipot Aq seb%NetBSD.org@localhost
.An Alan Barrett Aq apb%NetBSD.org@localhost
Home |
Main Index |
Thread Index |
Old Index