fehQlibs 26
Qlibs
Loading...
Searching...
No Matches
Macros | Functions
error.h File Reference
#include <errno.h>
Include dependency graph for error.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define EPROTO   EINTR
 
#define error_str(i)   errstr(i)
 
#define error_intr   EINTR /* -1 4 4 4 */
 
#define error_nomem   ENOMEM /* -2 12 12 12 */
 
#define error_noent   ENOENT /* -3 2 2 2 */
 
#define error_txtbsy   ETXTBSY /* -4 26 26 26 */
 
#define error_io   EIO /* -5 5 5 5 */
 
#define error_exist   EEXIST /* -6 17 17 17 */
 
#define error_timeout   ETIMEDOUT /* -7 110 60 145 */
 
#define error_inprogress   EINPROGRESS /* -8 115 36 160 */
 
#define error_wouldblock   EWOULDBLOCK /* -9 EAGAIN EAGAIN EAGAIN */
 
#define error_again   EAGAIN /* -10 11 35 11 */
 
#define error_pipe   EPIPE /* -11 32 32 32 */
 
#define error_perm   EPERM /* -12 1 1 1 */
 
#define error_acces   EACCES /* -13 13 13 13 */
 
#define error_nodevice   ENODEV /* -14 (6) (6) 19 */
 
#define error_proto   EPROTO /* -15 71 92 71 */
 
#define error_isdir   EISDIR /* -16 21 21 21 */
 
#define error_connrefused   ECONNREFUSED /* -17 111 61 146 */
 
#define error_rofs   EROFS /* -19 30 30 30 */
 
#define error_connreset   ECONNRESET /* -20 104 54 131 */
 
#define CAT   -10 /* raw message w/o terminating \n */
 
#define LOG   -90 /* generic logging */
 
#define INFO   -91 /* named logging */
 
#define TEMP   -97 /* (triggered) temporay alert condition */
 
#define ALERT   -98 /* (triggered) alert condition */
 
#define WARN   -99 /* exception condition */
 
#define ESOFT   -100 /* soft error, reversed negative */
 
#define EHARD   -111 /* hard error, reversed negative */
 
#define USAGE   100 /* usage error on call -- explicit usage() */
 
#define SYNTAX   101 /* usage/syntax error on call -- explicit syntaxerror() */
 
#define DROP   110 /* connection dropped -- explicit dropped() */
 
#define FATAL   111 /* internal error -- all */
 
#define ERROR   112 /* application error */
 

Functions

char * error_str (int)
 

Macro Definition Documentation

◆ ALERT

#define ALERT   -98 /* (triggered) alert condition */

Definition at line 47 of file error.h.

◆ CAT

#define CAT   -10 /* raw message w/o terminating \n */

Definition at line 43 of file error.h.

◆ DROP

#define DROP   110 /* connection dropped -- explicit dropped() */

Definition at line 53 of file error.h.

◆ EHARD

#define EHARD   -111 /* hard error, reversed negative */

Definition at line 50 of file error.h.

◆ EPROTO

#define EPROTO   EINTR

Definition at line 7 of file error.h.

◆ ERROR

#define ERROR   112 /* application error */

Definition at line 55 of file error.h.

◆ error_acces

#define error_acces   EACCES /* -13 13 13 13 */

Definition at line 33 of file error.h.

◆ error_again

#define error_again   EAGAIN /* -10 11 35 11 */

Definition at line 30 of file error.h.

◆ error_connrefused

#define error_connrefused   ECONNREFUSED /* -17 111 61 146 */

Definition at line 37 of file error.h.

◆ error_connreset

#define error_connreset   ECONNRESET /* -20 104 54 131 */

Definition at line 40 of file error.h.

◆ error_exist

#define error_exist   EEXIST /* -6 17 17 17 */

Definition at line 26 of file error.h.

◆ error_inprogress

#define error_inprogress   EINPROGRESS /* -8 115 36 160 */

Definition at line 28 of file error.h.

◆ error_intr

#define error_intr   EINTR /* -1 4 4 4 */

Definition at line 21 of file error.h.

◆ error_io

#define error_io   EIO /* -5 5 5 5 */

Definition at line 25 of file error.h.

◆ error_isdir

#define error_isdir   EISDIR /* -16 21 21 21 */

Definition at line 36 of file error.h.

◆ error_nodevice

#define error_nodevice   ENODEV /* -14 (6) (6) 19 */

Definition at line 34 of file error.h.

◆ error_noent

#define error_noent   ENOENT /* -3 2 2 2 */

Definition at line 23 of file error.h.

◆ error_nomem

#define error_nomem   ENOMEM /* -2 12 12 12 */

Definition at line 22 of file error.h.

◆ error_perm

#define error_perm   EPERM /* -12 1 1 1 */

Definition at line 32 of file error.h.

◆ error_pipe

#define error_pipe   EPIPE /* -11 32 32 32 */

Definition at line 31 of file error.h.

◆ error_proto

#define error_proto   EPROTO /* -15 71 92 71 */

Definition at line 35 of file error.h.

◆ error_rofs

#define error_rofs   EROFS /* -19 30 30 30 */

Definition at line 39 of file error.h.

◆ error_str

#define error_str (   i)    errstr(i)

Definition at line 10 of file error.h.

◆ error_timeout

#define error_timeout   ETIMEDOUT /* -7 110 60 145 */

Definition at line 27 of file error.h.

◆ error_txtbsy

#define error_txtbsy   ETXTBSY /* -4 26 26 26 */

Definition at line 24 of file error.h.

◆ error_wouldblock

#define error_wouldblock   EWOULDBLOCK /* -9 EAGAIN EAGAIN EAGAIN */

Definition at line 29 of file error.h.

◆ ESOFT

#define ESOFT   -100 /* soft error, reversed negative */

Definition at line 49 of file error.h.

◆ FATAL

#define FATAL   111 /* internal error -- all */

Definition at line 54 of file error.h.

◆ INFO

#define INFO   -91 /* named logging */

Definition at line 45 of file error.h.

◆ LOG

#define LOG   -90 /* generic logging */

Definition at line 44 of file error.h.

◆ SYNTAX

#define SYNTAX   101 /* usage/syntax error on call -- explicit syntaxerror() */

Definition at line 52 of file error.h.

◆ TEMP

#define TEMP   -97 /* (triggered) temporay alert condition */

Definition at line 46 of file error.h.

◆ USAGE

#define USAGE   100 /* usage error on call -- explicit usage() */

Definition at line 51 of file error.h.

◆ WARN

#define WARN   -99 /* exception condition */

Definition at line 48 of file error.h.

Function Documentation

◆ error_str()

char * error_str ( int  )