freebsd-nq/lib/libutil
Stefan Eßer 30d21d2795 Add function getlocalbase() to libutil.
This function returns the path to the local software base directory, by
default "/usr/local" (or the value of _PATH_LOCALBASE in include/paths.h
when building the world).

The value returned can be overridden by 2 methods:

- the LOCALBASE environment variable (ignored by SUID programs)
- else a non-default user.localbase sysctl value

Reviewed by:	hps (earlier version)
Relnotes:	yes
Differential Revision:	https://reviews.freebsd.org/D27236
2020-11-18 19:44:30 +00:00
..
tests Fix pidfile_open(3) to handle relative paths with multiple components. 2019-03-27 19:40:18 +00:00
_secure_path.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
_secure_path.c
auth.c
expand_number.3 expand_number(3) parses suffixes, not prefixes. 2019-07-20 16:03:54 +00:00
expand_number.c
flopen.3
flopen.c
fparseln.3
fparseln.c
getlocalbase.3 Add function getlocalbase() to libutil. 2020-11-18 19:44:30 +00:00
getlocalbase.c Add function getlocalbase() to libutil. 2020-11-18 19:44:30 +00:00
gr_util.c libutil: remove extraneous ": " from error messages 2020-06-20 06:10:42 +00:00
hexdump.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
hexdump.c
humanize_number.3
humanize_number.c
kinfo_getallproc.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
kinfo_getallproc.c
kinfo_getfile.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
kinfo_getfile.c
kinfo_getproc.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
kinfo_getproc.c
kinfo_getvmmap.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
kinfo_getvmmap.c
kinfo_getvmobject.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
kinfo_getvmobject.c
kld.3
kld.c
libutil.h Add function getlocalbase() to libutil. 2020-11-18 19:44:30 +00:00
login_auth.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
login_auth.c
login_cap.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
login_cap.c
login_cap.h
login_class.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
login_class.c login.conf(5): split MAIL env var out into a "mail" capability 2020-02-05 04:17:14 +00:00
login_crypt.c
login_ok.3 Fix a few mandoc issues 2020-10-09 19:12:44 +00:00
login_ok.c
login_times.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
login_times.c
login_tty.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
login_tty.c
login.conf.5 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
Makefile Add function getlocalbase() to libutil. 2020-11-18 19:44:30 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
pidfile.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
pidfile.c Add CAP_EVENT to pidfiles. 2020-06-25 21:34:43 +00:00
property.3
property.c
pty.3
pty.c
pw_util.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
pw_util.c Make vipw error message less cryptic 2020-06-20 06:20:00 +00:00
quotafile.3
quotafile.c r343881 had an uninitialized error. This fixes that. 2019-02-07 22:10:20 +00:00
realhostname_sa.3
realhostname.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
realhostname.c
stub.c
trimdomain.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
trimdomain.c
uucplock.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
uucplock.c