mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 17:12:51 +02: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:
parent
2416437eb8
commit
d4d2fe5e80
1 changed files with 7 additions and 0 deletions
|
|
@ -41,6 +41,13 @@ void pidwait_remove(int pid)
|
||||||
pids = g_slist_remove(pids, GINT_TO_POINTER(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)
|
static int child_check(void)
|
||||||
{
|
{
|
||||||
GSList *tmp, *next;
|
GSList *tmp, *next;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue