]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add the library function getlocalbase and its manual page. This helps to
authorscottl <scottl@FreeBSD.org>
Sat, 14 Nov 2020 17:57:50 +0000 (17:57 +0000)
committerscottl <scottl@FreeBSD.org>
Sat, 14 Nov 2020 17:57:50 +0000 (17:57 +0000)
commitb4188b1a3b71dbfc2776ee509203793f8fa7e83c
tree3d98ece8b13bbf3e665420dd57f58903d476ab02
parent00ce21771ae9a2536b3d2599a0b9cfa6e07d25cb
Add the library function getlocalbase and its manual page.  This helps to
unify the retrieval of the various ways that the local software base directory,
typically "/usr/local", is expressed in the system.

Reviewed by: se
Differential Revision: https://reviews.freebsd.org/D27022
lib/libutil/Makefile
lib/libutil/getlocalbase.3 [new file with mode: 0644]
lib/libutil/getlocalbase.c [new file with mode: 0644]
lib/libutil/libutil.h