• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===-- Macros defined in sysexits.h header file --------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef SYSEXITS_MACROS_H
10 #define SYSEXITS_MACROS_H
11 
12 #define EX_OK 0           // Successful termination
13 #define EX_USAGE 64       // Command line usage error
14 #define EX_DATAERR 65     // Data format error
15 #define EX_NOINPUT 66     // Cannot open input
16 #define EX_NOUSER 67      // Addressee unknown
17 #define EX_NOHOST 68      // Host name unknown
18 #define EX_UNAVAILABLE 69 // Service unavailable
19 #define EX_SOFTWARE 70    // Internal software error
20 #define EX_OSERR 71       // Operating system error
21 #define EX_OSFILE 72      // System file error
22 #define EX_CANTCREAT 73   // Cannot create (user) output file
23 #define EX_IOERR 74       // Input/output error
24 #define EX_TEMPFAIL 75    // Temporary failure, try again
25 #define EX_PROTOCOL 76    // Remote protocol error
26 #define EX_NOPERM 77      // Permission denied
27 #define EX_CONFIG 78      // Configuration error
28 
29 #endif // SYSEXITS_MACROS_H
30