cctools
dpopen.h
Go to the documentation of this file.
1/*
2Copyright (C) 2022 The University of Notre Dame
3This software is distributed under the GNU General Public License.
4See 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
26pid_t dpopen(const char *command, FILE ** in, FILE ** out);
27
34int 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.