Subversion Repositories Kolibri OS

Rev

Rev 5191 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5191 Rev 6324
Line 102... Line 102...
102
     binary mode.  Return >= 0 on success, -1 on error.  */
102
     binary mode.  Return >= 0 on success, -1 on error.  */
103
  int (*open_read) (struct pex_obj *, const char */* name */, int /* binary */);
103
  int (*open_read) (struct pex_obj *, const char */* name */, int /* binary */);
104
  /* Open file NAME for writing.  If BINARY is non-zero, open in
104
  /* Open file NAME for writing.  If BINARY is non-zero, open in
105
     binary mode.  Return >= 0 on success, -1 on error.  */
105
     binary mode.  Return >= 0 on success, -1 on error.  */
106
  int (*open_write) (struct pex_obj *, const char */* name */,
106
  int (*open_write) (struct pex_obj *, const char */* name */,
107
                     int /* binary */);
107
                     int /* binary */, int /* append */);
108
  /* Execute a child process.  FLAGS, EXECUTABLE, ARGV, ERR are from
108
  /* Execute a child process.  FLAGS, EXECUTABLE, ARGV, ERR are from
109
     pex_run.  IN, OUT, ERRDES, TOCLOSE are all descriptors, from
109
     pex_run.  IN, OUT, ERRDES, TOCLOSE are all descriptors, from
110
     open_read, open_write, or pipe, or they are one of STDIN_FILE_NO,
110
     open_read, open_write, or pipe, or they are one of STDIN_FILE_NO,
111
     STDOUT_FILE_NO or STDERR_FILE_NO; if IN, OUT, and ERRDES are not
111
     STDOUT_FILE_NO or STDERR_FILE_NO; if IN, OUT, and ERRDES are not
112
     STD*_FILE_NO, they should be closed.  If the descriptor TOCLOSE
112
     STD*_FILE_NO, they should be closed.  If the descriptor TOCLOSE