aboutsummaryrefslogtreecommitdiff
path: root/lib/libutil/getlocalbase.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libutil/getlocalbase.3')
-rw-r--r--lib/libutil/getlocalbase.317
1 files changed, 9 insertions, 8 deletions
diff --git a/lib/libutil/getlocalbase.3 b/lib/libutil/getlocalbase.3
index 50466123ee89..5c71a87be8a3 100644
--- a/lib/libutil/getlocalbase.3
+++ b/lib/libutil/getlocalbase.3
@@ -1,5 +1,5 @@
.\"
-.\" SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+.\" SPDX-License-Identifier: BSD-2-Clause
.\"
.\" Copyright 2020 Scott Long
.\" Copyright 2020 Stefan Eßer
@@ -25,9 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $FreeBSD$
-.\"
-.Dd November 25, 2020
+.Dd July 11, 2023
.Dt GETLOCALBASE 3
.Os
.Sh NAME
@@ -53,10 +51,10 @@ If that does not exist then the
.Va user.localbase
sysctl is checked.
If that also does not exist then the value of the
-.Dv _PATH_LOCALBASE
+.Dv LOCALBASE_PATH
compile-time variable is used.
-If that is undefined then the default of
-.Pa /usr/local
+If that is undefined then the system default,
+.Pa _PATH_LOCALBASE
is used.
.Pp
The contents of the string returned by the
@@ -115,6 +113,9 @@ The
library function first appeared in
.Fx 13.0 .
.Sh AUTHORS
+.An -nosplit
This
manual page was written by
-.An Scott Long Aq Mt scottl@FreeBSD.org and Stefan Eßer Aq Mt se@FreeBSD.org .
+.An Scott Long Aq Mt scottl@FreeBSD.org
+and
+.An Stefan Eßer Aq Mt se@FreeBSD.org .