diff options
Diffstat (limited to 'src/libstddjb/strerr_dievsys.c')
-rw-r--r-- | src/libstddjb/strerr_dievsys.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/libstddjb/strerr_dievsys.c b/src/libstddjb/strerr_dievsys.c new file mode 100644 index 0000000..10437f9 --- /dev/null +++ b/src/libstddjb/strerr_dievsys.c @@ -0,0 +1,13 @@ +/* ISC license. */ + +/* MT-unsafe */ + +#include <unistd.h> + +#include <skalibs/strerr.h> + +void strerr_dievsys (int e, char const *const *v, unsigned int n) +{ + strerr_warnvsys(v, n) ; + _exit(e) ; +} |