OrionLibC
Barry Importing existing Orion LibC 03048a9 (2 years, 2 months ago)diff --git a/include/errno.h b/include/errno.h new file mode 100644 index 0000000..b47e18c --- /dev/null +++ b/include/errno.h @@ -0,0 +1,28 @@ +#ifndef _ERRNO_H +#define _ERRNO_H + +enum { + ENONE, + EPERM, + ENOENT, + ESRCH, + EINVAL, + EBADF, + ENOEXEC, + EMFILE, + EFAULT, + EISDIR, + ENOTDIR, + EACCES, + ENODEV, + EEXIST, + ENXIO, + ENOTBLK, + ENOMEM, + ECHILD, + ENOTTY, +}; + +extern int errno; + +#endif