Lines Matching defs:policy_fp
3145 FILE *policy_fp;
3147 policy_fp = fopen(POLICY_CONF_FILE, "a");
3148 if (policy_fp == NULL) {
3151 (void) fprintf(policy_fp, "\n\n");
3152 (void) fflush(policy_fp);
5224 FILE *fp, *policy_fp;
5273 policy_fp = fopen(POLICY_CONF_FILE, "a");
5274 if (policy_fp == NULL) {
5422 if (fprintf(policy_fp, "%s %lld \n", INDEX_TAG,
5431 if (print_cmd_buf(policy_fp, NOERROR) == -1) {
5445 if (fprintf(policy_fp, "\n") == -1) {
5455 if (fprintf(policy_fp, "\n\n") == -1) {
5470 (void) fflush(policy_fp);
5539 FILE *remove_fp, *policy_fp;
5575 policy_fp = fopen(POLICY_CONF_FILE, "r+");
5576 if (policy_fp == NULL) {
5622 fgets(pbuf, MAXLEN, policy_fp) != NULL;
5640 (void) fclose(policy_fp);
5646 if (fgetpos(policy_fp, &ipos) != 0) {
5648 (void) fclose(policy_fp);
5661 (void) fclose(policy_fp);
5667 if (fsetpos(policy_fp, &ipos) != 0) {
5669 (void) fclose(policy_fp);
5675 if (parse_one(policy_fp, act_props) == -1) {
5679 (void) fclose(policy_fp);
5697 (void) fclose(policy_fp);
5725 policy_fp = fopen(POLICY_CONF_FILE, "r");
5726 if (policy_fp == NULL) {