1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

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
This commit is contained in:
Timo Sirainen 2001-11-20 20:48:43 +00:00 committed by cras
parent 2416437eb8
commit d4d2fe5e80

View File

@ -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;