BarryServer : Git

All the code for all my projects
// BarryServer : Git / OrionLibC / commit / ad9b6af63f1fdfcf3556c9b2fc670f72cdc60ab4 / include / unistd.h

// Related

OrionLibC

Barry Updating libc for pipes and signals ad9b6af (2 years, 2 months ago)
diff --git a/include/unistd.h b/include/unistd.h
index c250e84..452cc36 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -31,9 +31,10 @@ int isatty(int fd);
 int close(int fd);
 int dup(int oldfd);
 int dup2(int oldfd, int newfd);
-size_t read(int fd, void *buf, size_t count);
-size_t write(int fd, void *buf, size_t count);
+int read(int fd, void *buf, size_t count);
+int write(int fd, void *buf, size_t count);
 off_t lseek(int fd, off_t offset, int whence);
+int pipe(int pipefd[2]);
 int rmdir(const char *pathname);
 int chroot(const char *path);
 int chdir(const char *path);