]> git.ipfire.org Git - thirdparty/libbsd.git/commit
err: Add err(), warn(), errx() and warnx() familiy of functions
authorGuillem Jover <guillem@hadrons.org>
Tue, 6 Aug 2019 13:49:41 +0000 (15:49 +0200)
committerGuillem Jover <guillem@hadrons.org>
Thu, 8 Aug 2019 01:47:05 +0000 (03:47 +0200)
commit5745ca03626cce0298196481dc25579063720e46
treebddcd1ee7fcabf251e68bdd75b54b8bef6e08683
parent9628798d7d02e5f93b8dea02677676449a1ccd6c
err: Add err(), warn(), errx() and warnx() familiy of functions

Some systems such as Windows or musl-libc based ones do not have these
BSD extensions. In addition libbsd itself is making use of the warnx()
functions, so we better provide these interfaces in case they are
missing.
include/bsd/err.h
src/err.c
src/libbsd.map