Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

Error handling


Modules

group  Return type of pfspd functions

Functions

void p_fatal_error (pT_status status, FILE *stream)
void p_fatal_error_fileio (pT_status status, const char *filename, FILE *stream)
char * p_get_error_string (pT_status status)


Function Documentation

void p_fatal_error pT_status  status,
FILE *  stream
 

Check value of status and exit on a fatal error. Error description is printed to stream when a fatal error occurs.

void p_fatal_error_fileio pT_status  status,
const char *  filename,
FILE *  stream
 

Check value of status and exit on a fatal error. Error description is printed to stream when a fatal error occurs. Variable filename is printed to stream when a fatal error occurs (this is convenient to link an error with a specific filename).

char* p_get_error_string pT_status  status  ) 
 

Return the character string describing the error code.


Generated on Thu Nov 19 16:28:20 2009 for cpfspd by  doxygen 1.3.9.1