Rudiments
/home/dmuse/src/rudiments/include/rudiments/pipe.h
00001 // Copyright (c) 2004 David Muse
00002 // See the COPYING file for more information.
00003 
00004 #ifndef RUDIMENTS_PIPE_H
00005 #define RUDIMENTS_PIPE_H
00006 
00007 #include <rudiments/private/pipe.h>
00008 
00009 #ifdef RUDIMENTS_NAMESPACE
00010 namespace rudiments {
00011 #endif
00012 
00013 // @cond
00014 
00015 class pipeprivate;
00016 
00017 // create() calls ::pipe()
00018 // read() methods read from filedes[0]
00019 // write() methods write to filedes[1]
00020 // wrap:
00021 //      unistd.h - pipe(), pathconf()/fpathconf(): __POSIX_PIPE_BUF()
00022 class RUDIMENTS_DLLSPEC pipe : public filedescriptor {
00023         public:
00024 
00025         #include <rudiments/private/pipe.h>
00026 };
00027 
00028 // @endcond
00029 
00030 #ifdef RUDIMENTS_NAMESPACE
00031 }
00032 #endif
00033 
00034 #endif