logo

utils-std

Collection of commonly available Unix tools git clone https://anongit.hacktivis.me/git/utils-std.git/

err.h (661B)


  1. // Collection of Unix tools, comparable to coreutils
  2. // SPDX-FileCopyrightText: 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
  3. // SPDX-License-Identifier: MPL-2.0
  4. #include <stdarg.h>
  5. extern const char *argv0;
  6. void utils_vwarn(const char *fmt, va_list ap);
  7. void utils_vwarnx(const char *fmt, va_list ap);
  8. _Noreturn void utils_verr(int status, const char *fmt, va_list ap);
  9. _Noreturn void utils_verrx(int status, const char *fmt, va_list ap);
  10. void utils_warn(const char *fmt, ...);
  11. void utils_warnx(const char *fmt, ...);
  12. _Noreturn void utils_err(int status, const char *fmt, ...);
  13. _Noreturn void utils_errx(int status, const char *fmt, ...);