Main Page | File List | Globals | Related Pages

common.h File Reference


Detailed Description

common.h - Common routines for commandline tools

Go to the source code of this file.

Functions

void exit_err (const char *fmt,...)
 Print a formatted error message and errno information to stderr, then exit with return code 1.

void print_err (const char *fmt,...)
 Print a formatted error message to stderr.

void print_debug (int level, const char *fmt,...)
 Print a formatted debugging message of level 'level' to stderr.

int set_progname (const char *name)
 Set the program name string as used by error and debug routines.

int inc_debug_level (void)
 Increment the debug level.


Function Documentation

void print_debug int  level,
const char *  fmt,
... 
 

Print a formatted debugging message of level 'level' to stderr.

Parameters:
level the debug level


Generated on Sun Sep 21 18:03:19 2003 for libannodex by doxygen 1.3.2