Lines Matching refs:CONSCONFIG
49 #define CONSCONFIG "/etc/consadm.conf" macro
377 CONSCONFIG, (int)getpid()); in addtolist()
382 die(gettext("could not create new %s file"), CONSCONFIG); in addtolist()
389 if ((fp = fopen(CONSCONFIG, "r")) != NULL) { in addtolist()
410 (void) rename(newfile, CONSCONFIG); in addtolist()
430 if ((fp = fopen(CONSCONFIG, "r")) == NULL) { in removefromlist()
438 CONSCONFIG, (int)getpid()); in removefromlist()
442 die(gettext("cannot create new %s file"), CONSCONFIG); in removefromlist()
470 (void) rename(newfile, CONSCONFIG); in removefromlist()
472 (void) unlink(CONSCONFIG); in removefromlist()
847 if ((fp = fopen(CONSCONFIG, "r")) != NULL) { in persistlist()