]> git.ipfire.org Git - thirdparty/libbsd.git/commitdiff
man: Discourage using the library in non-overlay mode
authorGuillem Jover <guillem@hadrons.org>
Thu, 6 Oct 2022 01:59:33 +0000 (03:59 +0200)
committerGuillem Jover <guillem@hadrons.org>
Thu, 6 Oct 2022 01:59:33 +0000 (03:59 +0200)
This makes code using it non-portable, and requires the namespeced
headers from libbsd, instead of any generic system headers. It also
requires more code changes than the overlay mode.

man/libbsd.7

index 638caf8268a898dced05d6358c53068a4b551e4c..676e1300dfa1ee4caad23cb56f8b4b535ea46580 100644 (file)
@@ -59,7 +59,7 @@ The includes in this case should be the usual system ones, such as
 .In unistd.h .
 .Pp
 The other way to use the library is to use the namespaced headers,
-this is less portable as it makes using
+which is a discouraged way, being less portable as it makes using
 .Nm libbsd
 mandatory and it will not work on BSD-based systems, and requires
 modifying original BSD code.