#include <stdbool.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <errno.h>#include <fcntl.h>#include <sys/types.h>#include <unistd.h>#include "octave-popen2.h"
Go to the source code of this file.
Functions | |
| pid_t | octave_popen2 (const char *cmd, char *const *args, bool sync_mode, int *fildes, const char **errmsg) |
| 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().