static void qemu_init_child_watch(void)

{

    struct sigaction act;

    sigchld_bh = qemu_bh_new(sigchld_bh_handler, NULL);



    memset(&act, 0, sizeof(act));

    act.sa_handler = sigchld_handler;

    act.sa_flags = SA_NOCLDSTOP;

    sigaction(SIGCHLD, &act, NULL);

}

static void qemu_init_child_watch(void)

{

    struct sigaction act;

    sigchld_bh = qemu_bh_new(sigchld_bh_handler, NULL);



    memset(&act, 0, sizeof(act));

    act.sa_handler = sigchld_handler;

    act.sa_flags = SA_NOCLDSTOP;

    sigaction(SIGCHLD, &act, NULL);

}

static void FUNC_0(void)

{

    struct sigaction VAR_0;

    sigchld_bh = qemu_bh_new(sigchld_bh_handler, NULL);



    memset(&VAR_0, 0, sizeof(VAR_0));

    VAR_0.sa_handler = sigchld_handler;

    VAR_0.sa_flags = SA_NOCLDSTOP;

    sigaction(SIGCHLD, &VAR_0, NULL);

}

static void FUNC_0(void)
{ struct sigaction VAR_0; sigchld_bh = qemu_bh_new(sigchld_bh_handler, NULL); memset(&VAR_0, 0, sizeof(VAR_0)); VAR_0.sa_handler = sigchld_handler; VAR_0.sa_flags = SA_NOCLDSTOP; sigaction(SIGCHLD, &VAR_0, NULL); }