diff options
Diffstat (limited to 'pttpi/include/pierr.h')
-rw-r--r-- | pttpi/include/pierr.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pttpi/include/pierr.h b/pttpi/include/pierr.h new file mode 100644 index 00000000..da462a36 --- /dev/null +++ b/pttpi/include/pierr.h @@ -0,0 +1,9 @@ +#ifndef _PIERR_H_ +#define _PIERR_H_ + +#define PIERR_OK (int32)0 /* no error */ +#define PIERR_INT (int32)1 /* internal error (ex: syscall failure) */ +#define PIERR_NOBRD (int32)2 /* no such board or permission denied */ +#define PIERR_NOMORE (int32)3 /* no more data */ +#define PIERR_NOTCLASS (int32)4 /* this bid is NOT class */ +#endif |