Home
last modified time | relevance | path

Searched refs:pidfp (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dmain.c84 FILE *pidfp; in main() local
159 if ((pidfp = fopen(PATH_PID, "w")) == NULL) { in main()
163 (void) fprintf(pidfp, "%ld\n", getpid()); in main()
164 (void) fclose(pidfp); in main()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dmain.c119 FILE *pidfp; in main() local
334 if ((pidfp = fopen(PATH_PID, "w")) == NULL) { in main()
339 (void) fprintf(pidfp, "%ld\n", getpid()); in main()
340 (void) fclose(pidfp); in main()