src/commands/ash/error.h File Reference

#include <setjmp.h>
#include <signal.h>

Go to the source code of this file.

Classes

struct  jmploc

Defines

#define EXINT   0
#define EXERROR   1
#define EXSHELLPROC   2
#define EXEXEC   3
#define INTOFF   suppressint++
#define INTON   { if (--suppressint == 0 && intpending) onint(); }
#define FORCEINTON   {suppressint = 0; if (intpending) onint();}
#define CLEAR_PENDING_INT   intpending = 0
#define int_pending()   intpending
#define __printf0like(a, b)

Functions

void exraise (int)
void onint (void)
void error (const char *,...) __printf0like(1
void void exerror (int, const char *,...) __printf0like(2

Variables

struct jmplochandler
volatile sig_atomic_t exception
volatile sig_atomic_t suppressint
volatile sig_atomic_t intpending


Define Documentation

#define __printf0like ( a,
b   ) 

Definition at line 79 of file error.h.

#define CLEAR_PENDING_INT   intpending = 0

Definition at line 76 of file error.h.

#define EXERROR   1

Definition at line 58 of file error.h.

#define EXEXEC   3

Definition at line 60 of file error.h.

#define EXINT   0

Definition at line 57 of file error.h.

#define EXSHELLPROC   2

Definition at line 59 of file error.h.

#define FORCEINTON   {suppressint = 0; if (intpending) onint();}

Definition at line 75 of file error.h.

 
#define int_pending (  )     intpending

Definition at line 77 of file error.h.

#define INTOFF   suppressint++

Definition at line 73 of file error.h.

#define INTON   { if (--suppressint == 0 && intpending) onint(); }

Definition at line 74 of file error.h.


Function Documentation

void error ( const char *  ,
  ... 
)

Definition at line 165 of file error.c.

void void exerror ( int  ,
const char *  ,
  ... 
)

void exraise ( int   ) 

void onint ( void   ) 

Definition at line 102 of file error.c.


Variable Documentation

Definition at line 67 of file error.c.

struct jmploc* handler

Definition at line 66 of file error.c.

Definition at line 69 of file error.c.

Definition at line 68 of file error.c.


Generated on Tue Mar 9 04:36:22 2010 for Minix by  doxygen 1.5.8