Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
usage.c File Reference
#include "util.h"
#include "debug.h"

Go to the source code of this file.

Functions

void set_die_routine (void(*routine)(const char *err, va_list params) NORETURN)
 
void usage (const char *err)
 
void die (const char *err,...)
 
int error (const char *err,...)
 
void warning (const char *warn,...)
 

Function Documentation

void die ( const char err,
  ... 
)

Definition at line 58 of file usage.c.

int error ( const char err,
  ... 
)

Definition at line 67 of file usage.c.

void set_die_routine ( void(*)(const char *err, va_list params) NORETURN  routine)

Definition at line 48 of file usage.c.

void usage ( const char err)

Definition at line 53 of file usage.c.

void warning ( const char warn,
  ... 
)

Definition at line 77 of file usage.c.