#include <setjmp.h>Include dependency graph for error.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Data Structures | |
| struct | jmploc |
Defines | |
| #define | E_OPEN 01 |
| #define | E_CREAT 02 |
| #define | E_EXEC 04 |
| #define | EXINT 0 |
| #define | EXERROR 1 |
| #define | EXSHELLPROC 2 |
| #define | INTOFF suppressint++ |
| #define | INTON if (--suppressint == 0 && intpending) onint(); else |
| #define | FORCEINTON {suppressint = 0; if (intpending) onint();} |
| #define | CLEAR_PENDING_INT intpending = 0 |
| #define | int_pending() intpending |
| #define | errmsg(errno, action) strerror(errno) |
Functions | |
| void | exraise () |
| void | onint () |
| void | error2 () |
| void | error () |
| char * | errmsg () |
Variables | |
| jmploc * | handler |
| int | exception |
| volatile int | suppressint |
| volatile int | intpending |
| char * | commandname |
|
|
Definition at line 87 of file error.h. Referenced by error(), and waitforjob(). |
|
|
Definition at line 44 of file error.h. Referenced by openredirect(). |
|
|
Definition at line 45 of file error.h. Referenced by shellexec(). |
|
|
Definition at line 43 of file error.h. Referenced by openredirect(). |
|
|
Definition at line 105 of file error.h. Referenced by cmd_errlist(), find_device(), main(), mcat(), mformat(), mpartition(), openredirect(), parse_errmsg(), shellexec(), and unix_write(). |
|
|
Definition at line 69 of file error.h. Referenced by error(). |
|
|
|
|
|
|
|
|
Definition at line 86 of file error.h. Referenced by evalbackcmd(), and main(). |
|
|
|
|
|
Definition at line 84 of file error.h. Referenced by addcmdentry(), clear_traps(), clearcmdentry(), copyfd(), defun(), delete_cmd_entry(), deletefuncs(), docd(), dowait(), emptyoutbuf(), error(), evalpipe(), evalsubshell(), expandarg(), expandmeta(), expbackq(), find_command(), forkshell(), freejob(), freestdout(), getpwd(), growstackblock(), lccmd(), listsetvar(), main(), makejob(), mklocal(), openredirect(), popfile(), popstackmark(), read_profile(), readcmdfile(), setcmd(), setinputfile(), setinputstring(), shiftcmd(), stalloc(), umaskcmd(), unsetvar(), and waitforjob(). |
|
|
Definition at line 85 of file error.h. Referenced by addcmdentry(), clear_traps(), defun(), delete_cmd_entry(), docd(), emptyoutbuf(), evalpipe(), evalsubshell(), expandarg(), find_command(), forkshell(), freejob(), freestdout(), getpwd(), growstackblock(), lccmd(), main(), mklocal(), openredirect(), popfile(), popstackmark(), read_profile(), readcmdfile(), setcmd(), setinputfile(), setinputstring(), shiftcmd(), stalloc(), umaskcmd(), and waitforjob(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 97 of file error.c. References _exit, EXINT, exraise(), iflag, intpending, rootshell, SIGINT, and suppressint. |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 67 of file error.c. Referenced by onint(). |
|
|
Definition at line 66 of file error.c. Referenced by onint(). |
1.4.6