Add errc/verrc/warnc/vwarnc family: versions of err/... that take the errno
authorguenther <guenther@openbsd.org>
Tue, 22 Apr 2014 00:33:02 +0000 (00:33 +0000)
committerguenther <guenther@openbsd.org>
Tue, 22 Apr 2014 00:33:02 +0000 (00:33 +0000)
commitd01ec05984f15286c42de2ed34f8b59f947867af
treea33b9e67e86a45a3acf24a4109fed60c89615b61
parentc85a336812eb513bc45d90ea9ffd8f6ce65ba3c6
Add errc/verrc/warnc/vwarnc family: versions of err/... that take the errno
value to use for the strerror() message as an argument.  Originally from
FreeBSD 3.0

Patch from Steffen Nurpmeso (sdaoden (at) gmail.com) with minor tweaks.
include/err.h
lib/libc/gen/Makefile.inc
lib/libc/gen/err.3
lib/libc/gen/errc.c [new file with mode: 0644]
lib/libc/gen/verrc.c [new file with mode: 0644]
lib/libc/gen/vwarnc.c [new file with mode: 0644]
lib/libc/gen/warnc.c [new file with mode: 0644]