sysexits.h 614 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Copyright (c) 2021, Panagiotis Vasilopoulos <hello@alwayslivid.com>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. // This file was modeled after the FreeBSD man pages for
  7. // software compatibility purposes.
  8. #pragma once
  9. #define EX_OK 0
  10. #define EX__BASE 64
  11. #define EX_USAGE 64
  12. #define EX_DATAERR 65
  13. #define EX_NOINPUT 66
  14. #define EX_NOUSER 67
  15. #define EX_NOHOST 68
  16. #define EX_UNAVAILABLE 69
  17. #define EX_SOFTWARE 70
  18. #define EX_OSERR 71
  19. #define EX_OSFILE 72
  20. #define EX_CANTCREAT 73
  21. #define EX_IOERR 74
  22. #define EX_TEMPFAIL 75
  23. #define EX_PROTOCOL 76
  24. #define EX_NOPERM 77
  25. #define EX_CONFIG 78
  26. #define EX__MAX 78