122715Sdist /* 2*68839Seric * Copyright (c) 1983, 1995 Eric P. Allman 362532Sbostic * Copyright (c) 1988, 1993 462532Sbostic * The Regents of the University of California. All rights reserved. 533731Sbostic * 642829Sbostic * %sccs.include.redist.c% 733731Sbostic */ 822715Sdist 922715Sdist #ifndef lint 10*68839Seric static char sccsid[] = "@(#)sysexits.c 8.2 (Berkeley) 04/21/95"; 1133731Sbostic #endif /* not lint */ 1222715Sdist 1333930Sbostic #include <sysexits.h> 14297Seric 15575Seric /* 1658669Seric ** SYSEXITS.C -- error messages corresponding to sysexits.h 1758669Seric ** 1858669Seric ** If the first character of the string is a colon, interpolate 1958669Seric ** the current errno after the rest of the string. 2058669Seric */ 2158669Seric 2258669Seric char *SysExMsg[] = 2358669Seric { 2458669Seric /* 64 USAGE */ " 500 Bad usage", 2558669Seric /* 65 DATAERR */ " 501 Data format error", 2658669Seric /* 66 NOINPUT */ ":550 Cannot open input", 2758669Seric /* 67 NOUSER */ " 550 User unknown", 2858669Seric /* 68 NOHOST */ " 550 Host unknown", 2958669Seric /* 69 UNAVAILABLE */ " 554 Service unavailable", 3058669Seric /* 70 SOFTWARE */ ":554 Internal error", 3158669Seric /* 71 OSERR */ ":451 Operating system error", 3258669Seric /* 72 OSFILE */ ":554 System file missing", 3358669Seric /* 73 CANTCREAT */ ":550 Can't create output", 3458669Seric /* 74 IOERR */ ":451 I/O error", 3558669Seric /* 75 TEMPFAIL */ " 250 Deferred", 3658669Seric /* 76 PROTOCOL */ " 554 Remote protocol error", 3758669Seric /* 77 NOPERM */ ":550 Insufficient permission", 3858669Seric /* 78 CONFIG */ " 554 Local configuration error", 39297Seric }; 40297Seric 4133930Sbostic int N_SysEx = sizeof(SysExMsg) / sizeof(SysExMsg[0]); 42