dpopen.h
Go to the documentation of this file.
/*
Copyright (C) 2022 The University of Notre Dame
This software is distributed under the GNU General Public License.
See the file COPYING for details.
*/
#ifndef DPOPEN_H
#define DPOPEN_H
#include <unistd.h>
#include <stdio.h>
pid_t dpopen(const char *command, FILE ** in, FILE ** out);
int dpclose(FILE * in, FILE * out, pid_t pid);
#endif
dpopen
pid_t dpopen(const char *command, FILE **in, FILE **out)
Fast process invocation.
dpclose
int dpclose(FILE *in, FILE *out, pid_t pid)
Conclude a fast process stream.