GitOS
Loading...
Searching...
No Matches
status.h File Reference

Go to the source code of this file.

Macros

#define ALL_OK   0
 Default return.
#define EIO   1
 Encountered I/O Error.
#define EINVARG   2
 Incorrent argument(s) provided.
#define ENOMEM   3
 Out of memory.
#define ENOTIMPL   4
 Not implemented.
#define EINFORMAT   5
 Invalid format.
#define EISTKN   8
 Is taken.
#define ISERR(value)
#define ERROR(value)
#define ERROR_I(value)

Macro Definition Documentation

◆ ALL_OK

#define ALL_OK   0

Default return.

◆ EINFORMAT

#define EINFORMAT   5

Invalid format.

◆ EINVARG

#define EINVARG   2

Incorrent argument(s) provided.

◆ EIO

#define EIO   1

Encountered I/O Error.

◆ EISTKN

#define EISTKN   8

Is taken.

◆ ENOMEM

#define ENOMEM   3

Out of memory.

◆ ENOTIMPL

#define ENOTIMPL   4

Not implemented.

◆ ERROR

#define ERROR ( value)
Value:
(void*)(value)

◆ ERROR_I

#define ERROR_I ( value)
Value:
(int)(value)

◆ ISERR

#define ISERR ( value)
Value:
((int)value < 0)