/*
Copyright (C) 2003-2009, Parrot Foundation.
$Id: test2_c.in 37201 2009-03-08 12:07:48Z fperrad $

test for sigaction function
*/

#include <stdio.h>
#include <signal.h>

int
main(int argc, char **argv)
{
    struct sigaction old_sa, new_sa;

    sigemptyset(&new_sa.sa_mask);
    sigaction(SIGFPE, NULL, &old_sa);
    puts("ok");
    return 0;
}

/*
 * Local variables:
 *   c-file-style: "parrot"
 * End:
 * vim: expandtab shiftwidth=4:
 */
