flinklib
flinklib: flink C library for Linux
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
error.h File Reference

Error handling. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define FLINK_NOERROR   0x2000
 
#define FLINK_EUNKNOWN   (FLINK_NOERROR + 1)
 
#define FLINK_ENOTSUPPORTED   (FLINK_NOERROR + 2)
 
#define FLINK_EINVALDEV   (FLINK_NOERROR + 3)
 
#define FLINK_EINVALSUBDEV   (FLINK_NOERROR + 4)
 
#define FLINK_EINVALCHAN   (FLINK_NOERROR + 5)
 
#define FLINK_ENULLPTR   (FLINK_NOERROR + 6)
 
#define FLINK_UNKNOWNIOCTL   (FLINK_NOERROR + 7)
 
#define FLINK_WRONGSUBDEVT   (FLINK_NOERROR + 8)
 

Functions

const char * flink_strerror (int e)
 
void flink_perror (const char *p)
 
void libc_error (void)
 
void flink_error (int e)
 

Detailed Description

Error handling.

Author
Martin Züger

Definition in file error.h.

Macro Definition Documentation

#define FLINK_EINVALCHAN   (FLINK_NOERROR + 5)

Definition at line 31 of file error.h.

#define FLINK_EINVALDEV   (FLINK_NOERROR + 3)

Definition at line 29 of file error.h.

#define FLINK_EINVALSUBDEV   (FLINK_NOERROR + 4)

Definition at line 30 of file error.h.

#define FLINK_ENOTSUPPORTED   (FLINK_NOERROR + 2)

Definition at line 28 of file error.h.

#define FLINK_ENULLPTR   (FLINK_NOERROR + 6)

Definition at line 32 of file error.h.

#define FLINK_EUNKNOWN   (FLINK_NOERROR + 1)

Definition at line 27 of file error.h.

#define FLINK_NOERROR   0x2000

Definition at line 26 of file error.h.

#define FLINK_UNKNOWNIOCTL   (FLINK_NOERROR + 7)

Definition at line 33 of file error.h.

#define FLINK_WRONGSUBDEVT   (FLINK_NOERROR + 8)

Definition at line 34 of file error.h.

Function Documentation

void flink_error ( int  e)

Definition at line 64 of file error.c.

Here is the caller graph for this function:

void flink_perror ( const char *  p)

Definition at line 50 of file error.c.

Here is the caller graph for this function:

const char* flink_strerror ( int  e)

Definition at line 42 of file error.c.

Here is the caller graph for this function:

void libc_error ( void  )

Definition at line 56 of file error.c.

Here is the caller graph for this function: