process.h

Go to the documentation of this file.
00001 /*
00002 Copyright (C) 2008- The University of Notre Dame
00003 This software is distributed under the GNU General Public License.
00004 See the file COPYING for details.
00005 */
00006 
00007 #ifndef PROCESS_H
00008 #define PROCESS_H
00009 
00010 #include <sys/time.h>
00011 #include <sys/types.h>
00012 #include <sys/resource.h>
00013 #include <sys/wait.h>
00014 
00031 struct process_info {
00032         pid_t pid;            
00033         int status;           
00034         struct rusage rusage; 
00035 };
00036 
00047 struct process_info *process_wait(int timeout);
00048 
00053 struct process_info *process_waitpid(pid_t pid, int timeout);
00054 
00060 int process_pending();
00061 
00066 void process_putback(struct process_info *p);
00067 
00068 
00069 
00070 #endif

Generated on 17 Sep 2019 for cctools by  doxygen 1.6.1