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 #ifdef RUDIMENTS_NAMESPACE
10 namespace rudiments {
11 #endif
12 
13 // @cond
14 
15 class pipeprivate;
16 
17 // create() calls ::pipe()
18 // read() methods read from filedes[0]
19 // write() methods write to filedes[1]
20 // wrap:
21 // unistd.h - pipe(), pathconf()/fpathconf(): __POSIX_PIPE_BUF()
22 class RUDIMENTS_DLLSPEC pipe : public filedescriptor {
23  public:
24 
25  #include <rudiments/private/pipe.h>
26 };
27 
28 // @endcond
29 
30 #ifdef RUDIMENTS_NAMESPACE
31 }
32 #endif
33 
34 #endif