print_error.h File Reference

Generic application error printing functions. More...

#include <stdio.h>

Go to the source code of this file.

Defines

#define IS_ICMP_ERROR(error_code)   ((error_code) > 0)
 Returns whether the error code may be an ICMP error code.
#define IS_SOCKET_ERROR(error_code)   ((error_code) < 0)
 Returns whether the error code may be socket error code.

Functions

void icmp_print_error (FILE *output, int error_code, const char *prefix, const char *suffix)
 Prints the specific ICMP error description.
void print_error (FILE *output, int error_code, const char *prefix, const char *suffix)
 Prints the error description.
void socket_print_error (FILE *output, int error_code, const char *prefix, const char *suffix)
 Prints the specific socket error description.


Detailed Description

Generic application error printing functions.

Definition in file print_error.h.


Generated on Thu Jun 2 07:45:51 2011 for HelenOS/USB by  doxygen 1.4.7