#include <stdbool.h>
#include <sys/types.h>
Go to the source code of this file.
Functions | |
OCTAVE_API pid_t | octave_popen2 (const char *cmd, char *const *args, bool sync_mode, int *fildes, const char **errmsg) |
OCTAVE_API pid_t octave_popen2 | ( | const char * | cmd, |
char *const * | args, | ||
bool | sync_mode, | ||
int * | fildes, | ||
const char ** | errmsg | ||
) |
Definition at line 171 of file octave-popen2.c.
References dup2(), execvp(), fcntl(), fork(), pipe(), and STDIN_FILENO.
Referenced by popen2().