aboutsummaryrefslogtreecommitdiffhomepage
path: root/proc.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-11-20 23:12:24 +1000
committerGravatar axel <axel@liljencrantz.se>2006-11-20 23:12:24 +1000
commitbc1efb1556d84ed62fdfd48a3f44988ac0312678 (patch)
treebebdd37781e249526527f8c017fa11a0cf7dacb6 /proc.h
parent7b5649097f182a1f5f6270cb3d6719d13aa3f34f (diff)
Minor code edit - move a bit of code into its own function
darcs-hash:20061120131224-ac50b-974496cc800377e4e06475491f89998b9640fbba.gz
Diffstat (limited to 'proc.h')
-rw-r--r--proc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/proc.h b/proc.h
index cfed6acc..dd2ee135 100644
--- a/proc.h
+++ b/proc.h
@@ -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