]>
diplodocus.org Git - nmh/blob - docs/historical/mh-nov-1983/subs/m_update.c
10 register struct node
*np
;
13 if(def_flags
& DEFMOD
) {
14 save
= (int) signal(SIGINT
, SIG_IGN
);
15 if((out
= fopen(defpath
, "w")) == NULL
) {
16 fprintf(stderr
, "Can't create %s!!\n", defpath
);
19 for(np
= m_defs
; np
; np
= np
->n_next
)
20 fprintf(out
, "%s: %s\n", np
->n_name
, np
->n_field
);
22 signal(SIGINT
, (int (*)()) save
);