cctools
dpopen.h
Go to the documentation of this file.
1 /*
2 Copyright (C) 2011- The University of Notre Dame
3 This software is distributed under the GNU General Public License.
4 See the file COPYING for details.
5 */
6 
7 #ifndef DPOPEN_H
8 #define DPOPEN_H
9 
10 #include <unistd.h>
11 #include <stdio.h>
12 
26 pid_t dpopen(const char *command, FILE ** in, FILE ** out);
27 
34 int dpclose(FILE * in, FILE * out, pid_t pid);
35 
36 #endif
pid_t dpopen(const char *command, FILE **in, FILE **out)
Fast process invocation.
int dpclose(FILE *in, FILE *out, pid_t pid)
Conclude a fast process stream.