act 1031 src/dps8/threadz.c struct sigaction act; act 1032 src/dps8/threadz.c memset (& act, 0, sizeof (act)); act 1033 src/dps8/threadz.c act.sa_handler = int_handler; act 1034 src/dps8/threadz.c act.sa_flags = 0; act 1035 src/dps8/threadz.c sigaction (SIGINT, & act, NULL); act 1036 src/dps8/threadz.c sigaction (SIGTERM, & act, NULL); act 250 src/simh/scp.c t_stat sim_brk_set (t_addr loc, int32 sw, int32 ncnt, CONST char *act); act 8640 src/simh/scp.c FREE (bp->act); act 8749 src/simh/scp.c bp->act = NULL; act 8757 src/simh/scp.c t_stat sim_brk_set (t_addr loc, int32 sw, int32 ncnt, CONST char *act) act 8768 src/simh/scp.c if ((sw & BRK_TYP_DYN_ALL) && act) /* can't specify an action with a dynamic breakpoint */ act 8783 src/simh/scp.c (bp->act != NULL) && (act != NULL)) { /* replace old action? */ act 8784 src/simh/scp.c FREE (bp->act); /* deallocate */ act 8785 src/simh/scp.c bp->act = NULL; /* now no action */ act 8787 src/simh/scp.c if ((act != NULL) && (*act != 0)) { /* new action? */ act 8791 src/simh/scp.c strncpy (newp, act, CBUFSIZE); /* copy action */ act 8792 src/simh/scp.c bp->act = newp; /* set pointer */ act 8814 src/simh/scp.c FREE (bp->act); /* deallocate action */ act 8908 src/simh/scp.c if (bp->act != NULL) act 8909 src/simh/scp.c fprintf (st, "; %s", bp->act); act 8995 src/simh/scp.c sim_brk_setact (bp->act); /* set up actions */ act 9242 src/simh/scp.c FREE (ep->act); /* deallocate action */ act 9275 src/simh/scp.c FREE (exp->rules[i].act); /* deallocate action */ act 9289 src/simh/scp.c t_stat sim_exp_set (EXPECT *exp, const char *match, int32 cnt, uint32 after, int32 switches, const char *act) act 9375 src/simh/scp.c if (ep->act) { /* replace old action? */ act 9376 src/simh/scp.c FREE (ep->act); /* deallocate */ act 9377 src/simh/scp.c ep->act = NULL; /* now no action */ act 9379 src/simh/scp.c if (act) while (sim_isspace(*act)) ++act; /* skip leading spaces in action string */ act 9380 src/simh/scp.c if ((act != NULL) && (*act != 0)) { /* new action? */ act 9381 src/simh/scp.c char *newp = (char *) calloc (strlen (act)+1, sizeof (*act)); /* alloc buf */ act 9384 src/simh/scp.c strcpy (newp, act); /* copy action */ act 9385 src/simh/scp.c ep->act = newp; /* set pointer */ act 9416 src/simh/scp.c if (ep->act) act 9417 src/simh/scp.c fprintf (st, " %s", ep->act); act 9545 src/simh/scp.c if (ep->act && *ep->act) { act 9546 src/simh/scp.c sim_debug (exp->dbit, exp->dptr, "Initiating actions: %s\n", ep->act); act 9551 src/simh/scp.c sim_brk_setact (ep->act); /* set up actions */ act 187 src/simh/scp.h t_stat sim_exp_set (EXPECT *exp, const char *match, int32 cnt, uint32 after, int32 switches, const char *act); act 600 src/simh/sim_defs.h char *act; /* action string */ act 626 src/simh/sim_defs.h char *act; /* action string */ act 691 src/simh/sim_defs.h # define UDATA(act,fl,cap) NULL,act,NULL,NULL,NULL,0,0,(fl),0,(cap),0,NULL,0,0