sh_popen.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 SH_POPEN_H
#define SH_POPEN_H
#include <stdio.h>
#include "process.h"
FILE *sh_popen(char *command);
int sh_pclose(FILE * file);
int sh_system(char* command);
#endif
process.h
Provides a higher level interface to finding information about complete processes.
sh_system
int sh_system(char *command)
Non Terminal-Stealing system call sh_system opens a process for execution, and returns the exit statu...
sh_pclose
int sh_pclose(FILE *file)
Conclude a sh_popen stream.
sh_popen
FILE * sh_popen(char *command)
Non Terminal-Stealing popen sh_popen opens a process for execution, providing its output on a stream,...