cctools
sh_popen.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
8#ifndef SH_POPEN_H
9#define SH_POPEN_H
10
11#include <stdio.h>
12#include "process.h"
13
25FILE *sh_popen(char *command);
26
27
32int sh_pclose(FILE * file);
33
34
44int sh_system(char* command);
45
46#endif
Provides a higher level interface to finding information about complete processes.
int sh_system(char *command)
Non Terminal-Stealing system call sh_system opens a process for execution, and returns the exit statu...
int sh_pclose(FILE *file)
Conclude a sh_popen stream.
FILE * sh_popen(char *command)
Non Terminal-Stealing popen sh_popen opens a process for execution, providing its output on a stream,...