diff options
author | Timo Sirainen <cras@irssi.org> | 2001-11-20 20:48:43 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-11-20 20:48:43 +0000 |
commit | d4d2fe5e804088312590b52be3123e4cfc1df035 (patch) | |
tree | 8917a0d7d7173822c14f713cf4ba99522d5b0bff /src/core | |
parent | 2416437eb850dd800cb61369297d35d928ce2be5 (diff) | |
download | irssi-d4d2fe5e804088312590b52be3123e4cfc1df035.zip |
added function pidwait_get_pids() which session.c uses - forgot to commit
last time :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2132 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/pidwait.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/pidwait.c b/src/core/pidwait.c index f54aa34d..bb48d0d0 100644 --- a/src/core/pidwait.c +++ b/src/core/pidwait.c @@ -41,6 +41,13 @@ void pidwait_remove(int pid) pids = g_slist_remove(pids, GINT_TO_POINTER(pid)); } +/* return list of pids that are being waited. + don't free the return value. */ +GSList *pidwait_get_pids(void) +{ + return pids; +} + static int child_check(void) { GSList *tmp, *next; |