diff --git a/include/errno.h b/include/errno.h index 1c1cbad..e82a39b 100644 --- a/include/errno.h +++ b/include/errno.h @@ -13,6 +13,20 @@ #define ENOSYS 0x1BAD0009 #define EAGAIN 0x1BAD000A #define EBUSY 0x1BAD000B +#define EWOULDBLOCK 0x1BAD000C +#define EALREADY 0x1BAD000D +#define EINPROGRESS 0x1BAD000E +#define ENFILE 0x1BAD000F + +#define EAFNOSUPPORT 0x1BAD0020 +#define ENOPROTOOPT 0x1BAD0021 +#define EOPNOTSUPP 0x1BAD0022 +#define EHOSTUNREACH 0x1BAD0023 +#define ECONNABORTED 0x1BAD0024 +#define ECONNRESET 0x1BAD0025 +#define ENOTCONN 0x1BAD0026 +#define ENOBUFS 0x1BAD0027 +#define EADDRINUSE 0x1BAD0028 #endif /* __ERRNO_H__ */ diff --git a/include/limits.h b/include/limits.h new file mode 100644 index 0000000..02f3cc6 --- /dev/null +++ b/include/limits.h @@ -0,0 +1,8 @@ + +#ifndef __LIMITS_H__ +#define __LIMITS_H__ + + + +#endif /* __LIMITS_H__ */ + diff --git a/include/unistd.h b/include/unistd.h index 4782b53..e7d895e 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -6,6 +6,8 @@ #define STDOUT_FILENO 1 #define STDERR_FILENO 2 +struct timeval; + int syscall(int number, ...); unsigned int sleep(unsigned int seconds); diff --git a/sys/include/time.h b/sys/include/time.h new file mode 100644 index 0000000..981b827 --- /dev/null +++ b/sys/include/time.h @@ -0,0 +1,8 @@ + +#ifndef __SYS_TIME_H__ +#define __SYS_TIME_H__ + + + +#endif /* __SYS_TIME_H__ */ +