Rudiments
pipe.h
1 // Copyright (c) 2004 David Muse
2 // See the COPYING file for more information.
3 
4 #ifndef RUDIMENTS_PIPE_H
5 #define RUDIMENTS_PIPE_H
6 
7 #include <rudiments/private/pipe.h>
8 
9 // @cond
10 
11 class pipeprivate;
12 
13 // create() calls ::pipe()
14 // read() methods read from filedes[0]
15 // write() methods write to filedes[1]
16 // wrap:
17 // unistd.h - pipe(), pathconf()/fpathconf(): __POSIX_PIPE_BUF()
18 class RUDIMENTS_DLLSPEC pipe : public filedescriptor {
19  public:
20 
21  #include <rudiments/private/pipe.h>
22 };
23 
24 // @endcond
25 
26 #endif