cctools
sh_popen.h
Go to the documentation of this file.
1 /*
2 Copyright (C) 2008- The University of Notre Dame
3 This software is distributed under the GNU General Public License.
4 See 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 
25 FILE *sh_popen(char *command);
26 
27 
32 int sh_pclose(FILE * file);
33 
34 
44 int sh_system(char* command);
45 
46 #endif
int sh_system(char *command)
Non Terminal-Stealing system call sh_system opens a process for execution, and returns the exit stat...
Provides a higher level interface to finding information about complete processes.
FILE * sh_popen(char *command)
Non Terminal-Stealing popen sh_popen opens a process for execution, providing its output on a stream...
int sh_pclose(FILE *file)
Conclude a sh_popen stream.