cctools
|
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/wait.h> 00011 00028 struct process_info { 00029 pid_t pid; 00030 int status; 00031 struct rusage rusage; 00032 }; 00033 00044 struct process_info *process_wait(int timeout); 00045 00051 int process_pending(); 00052 00057 void process_putback(struct process_info *p); 00058 00059 00060 00061 #endif