include/err.h File Reference

#include <stdarg.h>

Include dependency graph for err.h:

Go to the source code of this file.

Defines

#define _ABLE_CLIB_ERR_H   1

Functions

void err (int eval, const char *fmt,...)
 Display a formatted error message on stderr and exit.
void verr (int eval, const char *fmt, va_list ap)
 Display a formatted error message on stderr and exit.
void errx (int, const char *,...)
 Display a formatted error message on stderr and exit.
void verrx (int, const char *, va_list ap)
 Display a formatted error message on stderr and exit.
void warn (const char *fmt,...)
 Display a formatted error message on stderr.
void vwarn (const char *fmt, va_list ap)
 Display a formatted error message on stderr.
void warnx (const char *fmt,...)
 Display a formatted error message on stderr.
void vwarnx (const char *fmt, va_list ap)
 Display a formatted error message on stderr.
void _err (int, const char *,...)
void _verr (int, const char *, va_list ap)
void _errx (int, const char *,...)
void _verrx (int, const char *, va_list ap)
void _warn (const char *,...)
void _vwarn (const char *, va_list ap)
void _warnx (const char *,...)
void _vwarnx (const char *, va_list ap)


Define Documentation

#define _ABLE_CLIB_ERR_H   1


Function Documentation

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

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

void _verr ( int  ,
const char *  ,
va_list  ap 
)

void _verrx ( int  ,
const char *  ,
va_list  ap 
)

void _vwarn ( const char *  ,
va_list  ap 
)

void _vwarnx ( const char *  ,
va_list  ap 
)

void _warn ( const char *  ,
  ... 
)

void _warnx ( const char *  ,
  ... 
)

void err ( int  eval,
const char *  fmt,
  ... 
)

Display a formatted error message on stderr and exit.

Write a formatted error message to the standard error stream. The format is the program name, the strerror of the current errno and the formatted output of fmt terminated with a newline.

Parameters:
eval The code passed to exit.
fmt The format of the error message or NULL for none.
Returns:
Does not return.

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

Display a formatted error message on stderr and exit.

Write a formatted error message to the standard error stream. The format is the program name and the formatted output of fmt terminated with a newline.

Parameters:
eval The code passed to exit.
fmt The format of the error message or NULL for no message.
Returns:
Does not return.

void verr ( int  eval,
const char *  fmt,
va_list  ap 
)

Display a formatted error message on stderr and exit.

Write a formatted error message to the standard error stream. The format is the program name, the strerror of the current errno and the formatted output of fmt terminated with a newline.

Parameters:
eval The code passed to exit.
fmt The format of the error message or NULL for none.
ap The varadic argument list.
Returns:
Does not return.

void verrx ( int  ,
const char *  ,
va_list  ap 
)

Display a formatted error message on stderr and exit.

Write a formatted error message to the standard error stream. The format is the program name and the formatted output of fmt terminated with a newline.

Parameters:
eval The code passed to exit.
fmt The format of the error message or NULL for no message.
ap The varadic argument list.
Returns:
Does not return.

void vwarn ( const char *  fmt,
va_list  ap 
)

Display a formatted error message on stderr.

Write a formatted error message to the standard error stream. The format is the program name, the strerror of the current errno and the formatted output of fmt terminated with a newline.

Parameters:
fmt The format of the error message or NULL for none.
ap The varadic argument list for the fmt.

void vwarnx ( const char *  fmt,
va_list  ap 
)

Display a formatted error message on stderr.

Write a formatted error message to the standard error stream. The format is the program name and the formatted output of fmt terminated with a newline.

Parameters:
fmt The format of the error message or NULL for none.
ap The varadic argument list for the fmt.

void warn ( const char *  fmt,
  ... 
)

Display a formatted error message on stderr.

Write a formatted error message to the standard error stream. The format is the program name, the strerror of the current errno and the formatted output of fmt terminated with a newline.

Parameters:
fmt The format of the error message or NULL for none.

void warnx ( const char *  fmt,
  ... 
)

Display a formatted error message on stderr.

Write a formatted error message to the standard error stream. The format is the program name and the formatted output of fmt terminated with a newline.

Parameters:
fmt The format of the error message or NULL for none.


Generated on Tue Jan 20 14:28:55 2009 for ABLE LIBC by  doxygen 1.5.6