/home/steven/tmp/wz/xz-utils/xz-utils-4.999.9beta+20100131/src/xz/main.h File Reference

Miscellanous declarations. More...


Enumerations

enum  exit_status_type { E_SUCCESS = 0, E_ERROR = 1, E_WARNING = 2 }
 Possible exit status values. These are the same as used by gzip and bzip2. More...

Functions

void set_exit_status (enum exit_status_type new_status)
void set_exit_no_warn (void)


Detailed Description

Miscellanous declarations.


Enumeration Type Documentation

Possible exit status values. These are the same as used by gzip and bzip2.


Function Documentation

void set_exit_status ( enum exit_status_type  new_status  ) 

Sets the exit status after a warning or error has occurred. If new_status is E_WARNING and the old exit status was already E_ERROR, the exit status is not changed.

References exit_status.

void set_exit_no_warn ( void   ) 

Use E_SUCCESS instead of E_WARNING if something worth a warning occurs but nothing worth an error has occurred. This is called when --no-warn is specified.

References no_warn.


Generated on Mon Feb 15 15:28:22 2010 for XZ Utils by  doxygen 1.5.6