Path: blob/main/system/lib/llvm-libc/include/llvm-libc-macros/sysexits-macros.h
6240 views
//===-- Macros defined in sysexits.h header file --------------------------===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef SYSEXITS_MACROS_H9#define SYSEXITS_MACROS_H1011#define EX_OK 0 // Successful termination12#define EX_USAGE 64 // Command line usage error13#define EX_DATAERR 65 // Data format error14#define EX_NOINPUT 66 // Cannot open input15#define EX_NOUSER 67 // Addressee unknown16#define EX_NOHOST 68 // Host name unknown17#define EX_UNAVAILABLE 69 // Service unavailable18#define EX_SOFTWARE 70 // Internal software error19#define EX_OSERR 71 // Operating system error20#define EX_OSFILE 72 // System file error21#define EX_CANTCREAT 73 // Cannot create (user) output file22#define EX_IOERR 74 // Input/output error23#define EX_TEMPFAIL 75 // Temporary failure, try again24#define EX_PROTOCOL 76 // Remote protocol error25#define EX_NOPERM 77 // Permission denied26#define EX_CONFIG 78 // Configuration error2728#endif // SYSEXITS_MACROS_H293031