diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1996-10-20 00:55:12 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1996-10-20 00:55:12 +0000 |
commit | 8414ed88be8de5352141730c176d30301d6700b4 (patch) | |
tree | 44a7f767c70131fb1d09f8a151860fee4e22ae5f /bin/sh/error.h | |
parent | 78d30b21a3fa6e2f7d7fb077246e1e015a2dafdf (diff) |
Sync with NetBSD. Adds better POSIX compliance amongst others.
Diffstat (limited to 'bin/sh/error.h')
-rw-r--r-- | bin/sh/error.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/sh/error.h b/bin/sh/error.h index 4e7435887e4..44a21a6be86 100644 --- a/bin/sh/error.h +++ b/bin/sh/error.h @@ -1,4 +1,4 @@ -/* $OpenBSD: error.h,v 1.2 1996/06/23 14:21:11 deraadt Exp $ */ +/* $OpenBSD: error.h,v 1.3 1996/10/20 00:54:46 millert Exp $ */ /* $NetBSD: error.h,v 1.8 1995/05/11 21:28:53 christos Exp $ */ /*- @@ -71,6 +71,7 @@ extern int exception; #define EXINT 0 /* SIGINT received */ #define EXERROR 1 /* a generic error */ #define EXSHELLPROC 2 /* execute a shell procedure */ +#define EXEXEC 3 /* command execution failed */ /* @@ -92,8 +93,8 @@ extern char *commandname; /* name of command--printed on error */ void exraise __P((int)); void onint __P((void)); -void error2 __P((char *, char *)); void error __P((char *, ...)); +void exerror __P((int, char *, ...)); char *errmsg __P((int, int)); |