Minor code edit - move a bit of code into its own function

darcs-hash:20061120131224-ac50b-974496cc800377e4e06475491f89998b9640fbba.gz
This commit is contained in:
axel
2006-11-20 23:12:24 +10:00
parent 7b5649097f
commit bc1efb1556
3 changed files with 40 additions and 19 deletions

5
proc.h
View File

@@ -366,6 +366,11 @@ int job_reap( int interactive );
*/
void job_handle_signal( int signal, siginfo_t *info, void *con );
/**
Send the specified signal to all processes in the specified job.
*/
int job_signal( job_t *j, int signal );
#ifdef HAVE__PROC_SELF_STAT
/**
Use the procfs filesystem to look up how many jiffies of cpu time