Back to home page

Enduro/X

 
 

    


0001 #ifndef CGREEN_PIPE_HEADER
0002 #define CGREEN_PIPE_HEADER
0003 
0004 #include <unistd.h>
0005 
0006 #ifdef __cplusplus
0007 namespace cgreen {
0008     extern "C" {
0009 #endif
0010 
0011 int cgreen_pipe_open(int pipes[2]);
0012 void cgreen_pipe_close(int p);
0013 ssize_t cgreen_pipe_read(int p, void *buf, size_t count);
0014 ssize_t cgreen_pipe_write(int p, const void *buf, size_t count);
0015 
0016 #ifdef __cplusplus
0017     }
0018 }
0019 #endif
0020 
0021 #endif