dpopen.h

Go to the documentation of this file.
00001 /*
00002 Copyright (C) 2011- The University of Notre Dame
00003 This software is distributed under the GNU General Public License.
00004 See the file COPYING for details.
00005 */
00006 
00007 #ifndef DPOPEN_H
00008 #define DPOPEN_H
00009 
00010 #include <unistd.h>
00011 #include <stdio.h>
00012 
00026 pid_t dpopen(const char *command, FILE ** in, FILE ** out);
00027 
00034 int dpclose(FILE * in, FILE * out, pid_t pid);
00035 
00036 #endif