BarryServer : Git

All the code for all my projects
// BarryServer : Git / Orion / commit / e59e4fe0bbf5a3f56db0700ee49a81131b590f9c / task

// Related

Orion

Barry Adding pipes e59e4fe (2 years, 4 months ago)
diff --git a/task/signal.h b/task/signal.h
new file mode 100644
index 0000000..9811bc6
--- /dev/null
+++ b/task/signal.h
@@ -0,0 +1,10 @@
+#ifndef KERNEL_TASK_SIGNAL_H
+#define KERNEL_TASK_SIGNAL_H
+
+/* Structure for Signal Handlers namespace */
+typedef struct SigHandlers {
+	sighandler_t sig_handler[32];
+	refcount_t usage;
+} SigHandlers;
+
+#endif
diff --git a/task/syscall.c b/task/syscall.c
index 30e1a7b..c1587d3 100644
--- a/task/syscall.c
+++ b/task/syscall.c
@@ -52,6 +52,7 @@ void *syscalls[] = {
 	[SYSCALL_DUP]      = dup,
 	[SYSCALL_DUP2]     = dup2,
 	[SYSCALL_ISATTY]   = isatty,
+	[SYSCALL_PIPE]     = pipe,
 
 	/* File System */
 	[SYSCALL_MOUNT]  = mount,