Searched refs:pidfp (Results 1 – 2 of 2) sorted by relevance
84 FILE *pidfp; in main() local159 if ((pidfp = fopen(PATH_PID, "w")) == NULL) { in main()163 (void) fprintf(pidfp, "%ld\n", getpid()); in main()164 (void) fclose(pidfp); in main()
119 FILE *pidfp; in main() local334 if ((pidfp = fopen(PATH_PID, "w")) == NULL) { in main()339 (void) fprintf(pidfp, "%ld\n", getpid()); in main()340 (void) fclose(pidfp); in main()