X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=rpikern;a=blobdiff_plain;f=src%2Flibc%2Ferrno.h;fp=src%2Flibc%2Ferrno.h;h=4bc9f6a77423e6bf7ce642c06e3beff88af8ed4c;hp=0000000000000000000000000000000000000000;hb=32ccc707bc0821d7ff4248fe9f58e92e9c6ebef9;hpb=203b43a75a028e9238307bd6e73768eb8e942071 diff --git a/src/libc/errno.h b/src/libc/errno.h new file mode 100644 index 0000000..4bc9f6a --- /dev/null +++ b/src/libc/errno.h @@ -0,0 +1,24 @@ +#ifndef ERRNO_H_ +#define ERRNO_H_ + +#define EFOO 1 +#define EAGAIN 2 +#define EINVAL 3 +#define ECHILD 4 +#define EBUSY 5 +#define ENOMEM 6 +#define EIO 7 +#define ENOENT 8 +#define ENAMETOOLONG 9 +#define ENOSPC 10 +#define EPERM 11 +#define ENOTDIR 12 +#define EISDIR 13 +#define EEXIST 14 +#define ERANGE 34 + +#define EBUG 127 /* for missing features and known bugs */ + +int errno; + +#endif /* ERRNO_H_ */