30 lines · c
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-exception6//7//===----------------------------------------------------------------------===//8 9#ifndef SYSEXITS_MACROS_H10#define SYSEXITS_MACROS_H11 12#define EX_OK 0 // Successful termination13#define EX_USAGE 64 // Command line usage error14#define EX_DATAERR 65 // Data format error15#define EX_NOINPUT 66 // Cannot open input16#define EX_NOUSER 67 // Addressee unknown17#define EX_NOHOST 68 // Host name unknown18#define EX_UNAVAILABLE 69 // Service unavailable19#define EX_SOFTWARE 70 // Internal software error20#define EX_OSERR 71 // Operating system error21#define EX_OSFILE 72 // System file error22#define EX_CANTCREAT 73 // Cannot create (user) output file23#define EX_IOERR 74 // Input/output error24#define EX_TEMPFAIL 75 // Temporary failure, try again25#define EX_PROTOCOL 76 // Remote protocol error26#define EX_NOPERM 77 // Permission denied27#define EX_CONFIG 78 // Configuration error28 29#endif // SYSEXITS_MACROS_H30