diff options
Diffstat (limited to 'src/include/toxic')
| -rw-r--r-- | src/include/toxic/errno.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/include/toxic/errno.h b/src/include/toxic/errno.h new file mode 100644 index 0000000..329da50 --- /dev/null +++ b/src/include/toxic/errno.h @@ -0,0 +1,15 @@ +#ifndef ERRNO_H +#define ERRNO_H + +/* + * Use POSIX error codes + * + * I think POSIX does not explicitly define the error code values, + * so just use Linux/FreeBSD values + * + */ +#define EIO 5 +#define ENOMEM 12 +#define EINVAL 22 + +#endif /* ERRNO_H */ |
