man: Discourage using the library in non-overlay mode

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.
This commit is contained in:
Guillem Jover 2022-10-06 03:59:33 +02:00
parent 03fccd1505
commit 3538d38fe7

View File

@ -59,7 +59,7 @@ The includes in this case should be the usual system ones, such as
.In unistd.h . .In unistd.h .
.Pp .Pp
The other way to use the library is to use the namespaced headers, 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 .Nm libbsd
mandatory and it will not work on BSD-based systems, and requires mandatory and it will not work on BSD-based systems, and requires
modifying original BSD code. modifying original BSD code.