1 /* 2 * Copyright (c) 1983 Eric P. Allman 3 * Copyright (c) 1988 Regents of the University of California. 4 * All rights reserved. 5 * 6 * %sccs.include.redist.c% 7 */ 8 9 #ifndef lint 10 static char sccsid[] = "@(#)sysexits.c 6.3 (Berkeley) 03/13/93"; 11 #endif /* not lint */ 12 13 #include <sysexits.h> 14 15 /* 16 ** SYSEXITS.C -- error messages corresponding to sysexits.h 17 ** 18 ** If the first character of the string is a colon, interpolate 19 ** the current errno after the rest of the string. 20 */ 21 22 char *SysExMsg[] = 23 { 24 /* 64 USAGE */ " 500 Bad usage", 25 /* 65 DATAERR */ " 501 Data format error", 26 /* 66 NOINPUT */ ":550 Cannot open input", 27 /* 67 NOUSER */ " 550 User unknown", 28 /* 68 NOHOST */ " 550 Host unknown", 29 /* 69 UNAVAILABLE */ " 554 Service unavailable", 30 /* 70 SOFTWARE */ ":554 Internal error", 31 /* 71 OSERR */ ":451 Operating system error", 32 /* 72 OSFILE */ ":554 System file missing", 33 /* 73 CANTCREAT */ ":550 Can't create output", 34 /* 74 IOERR */ ":451 I/O error", 35 /* 75 TEMPFAIL */ " 250 Deferred", 36 /* 76 PROTOCOL */ " 554 Remote protocol error", 37 /* 77 NOPERM */ ":550 Insufficient permission", 38 /* 78 CONFIG */ " 554 Local configuration error", 39 }; 40 41 int N_SysEx = sizeof(SysExMsg) / sizeof(SysExMsg[0]); 42