EOK,
ENOSYS, // Invalid Instruction
EINVAL, // Invalid Paramater
+ EBADF, // Bad FD
ENOMEM, // No free memory
EACCES, // Not permitted
EBUSY, // Resource is busy
ENOTDIR, // Not a directory
EIO, // IO Error
EINTR, // Operation interrupted (signal)
+ ENODEV, // ???
+ EADDRNOTAVAIL, // ?
+ EINPROGRESS, // ?
+
+ EAGAIN, // Try again
EALREADY, // Operation was a NOP
EINTERNAL, // Internal Error
#define SIG_DFL ((void*)0)
#define SIG_ERR ((void*)-1)
+#define SIGHUP 1
+#define SIGINT 2
+#define SIGQUIT 3
+#define SIGILL 4
#define SIGABRT 6
+#define SIGFPE 8
+#define SIGKILL 9
+#define SIGSEGV 11
+//#define SIGPIPE 13
+#define SIGALRM 14
+#define SIGTERM 15
+#define SIGUSR1 16
+#define SIGUSR2 17
#define SIGPIPE 1001
#define SIGCHLD 1002
+extern sighandler_t signal(int signum, sighandler_t handler);
+
extern int raise(int sig);
#endif