pipe.h (255B)
1 #ifndef __PIPE_H__ 2 #define __PIPE_H__ 3 4 #include <sys/types.h> 5 6 enum { 7 PIPE_SIZ = 8192 8 }; 9 10 extern int pipe(int pipefd[2]); 11 extern ssize_t piperead(int fd, void *buf, size_t count); 12 extern ssize_t pipewrite(int fd, const void *buf, size_t count); 13 14 #endif 15