Back to index

courier  0.68.2
Public Member Functions | Public Attributes
PipeFds Class Reference

#include <pipefds.h>

List of all members.

Public Member Functions

 PipeFds ()
int Pipe ()
void close0 ()
void close1 ()
 ~PipeFds ()

Public Attributes

int fds [2]

Detailed Description

Definition at line 17 of file pipefds.h.


Constructor & Destructor Documentation

PipeFds::PipeFds ( ) [inline]

Definition at line 21 of file pipefds.h.

{ fds[0]= -1; fds[1]= -1; }

Member Function Documentation

void PipeFds::close0 ( ) [inline]

Definition at line 23 of file pipefds.h.

              {
                     if (fds[0] >= 0)     close(fds[0]);
                     fds[0]= -1;
              }
void PipeFds::close1 ( ) [inline]

Definition at line 28 of file pipefds.h.

              {
                     if (fds[1] >= 0)     close(fds[1]);
                     fds[1]= -1;
              }
int PipeFds::Pipe ( )

Member Data Documentation

int PipeFds::fds[2]

Definition at line 19 of file pipefds.h.


The documentation for this class was generated from the following file: