- Timestamp:
- 2010-05-26T00:01:29+12:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/runtime-src/src/recpt/os_process_unix.h
r22173 r22174 38 38 39 39 public: 40 osprocessunix(c onst char* cmd);41 osprocessunix(c onst char* cmd, constOSProcessPipeMode mode);42 vir utal ~osprocessunix();40 osprocessunix(char* cmd); 41 osprocessunix(char* cmd, OSProcessPipeMode mode); 42 virtual ~osprocessunix(); 43 43 44 virtual eop(); // end of pipe 45 virtual eop(OSProcessPipeMode); // end of pipe, for named pipe 44 /* 45 virtual bool eop(); // end of pipe 46 virtual bool eop(OSProcessPipeMode); // end of pipe, for designated pipe 47 */ 46 48 47 49 virtual int read(char* buffer, const int buffer_len); 48 virtual boolwrite(char* buffer, const int buffer_len);50 virtual int write(char* buffer, const int buffer_len); 49 51 50 52 virtual bool close(); … … 52 54 53 55 protected: 54 File* read_fd_;55 File* write_fd_;56 int child_stdin_write_; 57 int child_stdout_read_; 56 58 }; 57 59
Note:
See TracChangeset
for help on using the changeset viewer.