mv more tahoe stuff to machdep; clk_enable was dup;
[unix-history] / usr / src / include / sysexits.h
index 71e736b..b6025f7 100644 (file)
 **     EX_CANTCREAT -- A (user specified) output file cannot be
 **             created.
 **     EX_IOERR -- An error occurred while doing I/O on some file.
 **     EX_CANTCREAT -- A (user specified) output file cannot be
 **             created.
 **     EX_IOERR -- An error occurred while doing I/O on some file.
+**     EX_TEMPFAIL -- temporary failure, indicating something that
+**             is not really an error.  In sendmail, this means
+**             that a mailer (e.g.) could not create a connection,
+**             and the request should be reattempted later.
+**     EX_PROTOCOL -- the remote system returned something that
+**             was "not possible" during a protocol exchange.
+**     EX_NOPERM -- You did not have sufficient permission to
+**             perform the operation.  This is not intended for
+**             file system problems, which should use NOINPUT or
+**             CANTCREAT, but rather for higher level permissions.
+**             For example, kre uses this to restrict who students
+**             can send mail to.
+**
+**     Maintained by Eric Allman (eric@berkeley, ucbvax!eric) --
+**             please mail changes to me.
+**
+**                     @(#)sysexits.h  4.2             %G%
 */
 
 # define EX_OK         0       /* successful termination */
 */
 
 # define EX_OK         0       /* successful termination */
@@ -60,3 +77,6 @@
 # define EX_OSFILE     72      /* critical OS file missing */
 # define EX_CANTCREAT  73      /* can't create (user) output file */
 # define EX_IOERR      74      /* input/output error */
 # define EX_OSFILE     72      /* critical OS file missing */
 # define EX_CANTCREAT  73      /* can't create (user) output file */
 # define EX_IOERR      74      /* input/output error */
+# define EX_TEMPFAIL   75      /* temp failure; user is invited to retry */
+# define EX_PROTOCOL   76      /* remote error in protocol */
+# define EX_NOPERM     77      /* permission denied */