The former used to be the reference implementation, but it has been
stagnant to the point of not showing much signs of life. Switch to
the currently active and more complete implementation for references.
that the code is portable and requires no modification to the original BSD
code.
This can be done easily with the
-.Xr pkg-config 1
+.Xr pkgconf 1
library named
.Pa libbsd-overlay .
Or by adding the system-specific include directory with the
mandatory and it will not work on BSD-based systems, and requires
modifying original BSD code.
This can be done with the
-.Xr pkg-config 1
+.Xr pkgconf 1
library named
.Pa libbsd .
The includes in this case should be namespaced with
.Fn setproctitle_init 3
function gets invoked automatically at startup time.
This can be done with the
-.Xr pkg-config 1
+.Xr pkgconf 1
library named
.Pa libbsd-ctor .
.Sh HEADERS
and with
.Fn main
arguments), if the automatic constructor support has not
-been linked in through the libbsd-ctor pkg-config file.
+been linked in through the libbsd-ctor pkgconf file.
.Pp
The title is set from the executable's name, followed by the
result of a
*
* To avoid any other possible fallout, the constructor is split into a
* new static library that needs to be linked explicitly into programs
- * using setproctitle(). As an additional safety measure the pkg-config
+ * using setproctitle(). As an additional safety measure the pkgconf(1)
* linker flags will mark the program as not allowing to be dlopen()ed
* so that we make sure to avoid the problem described above.
*/