Home
last modified time | relevance | path

Searched refs:pidfile (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dmain.c1215 FILE *pidfile; in create_pidfile() local
1219 if ((pidfile = fopen(pidfilename, "w")) != NULL) { in create_pidfile()
1220 (void) fprintf(pidfile, "%u\n", (unsigned)getpid()); in create_pidfile()
1221 (void) fclose(pidfile); in create_pidfile()
1231 FILE *pidfile; in create_linkpidfile() local
1238 if ((pidfile = fopen(linkpidfile, "w")) != NULL) { in create_linkpidfile()
1239 (void) fprintf(pidfile, "%u\n", (unsigned)getpid()); in create_linkpidfile()
1241 (void) fprintf(pidfile, "%s\n", ifname); in create_linkpidfile()
1242 (void) fclose(pidfile); in create_linkpidfile()
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipmon.c138 static char *pidfile = "/etc/ipf/ipmon.pid"; variable
141 static char *pidfile = "/var/run/ipmon.pid"; variable
143 static char *pidfile = "/etc/ipmon.pid"; variable
1530 pidfile = optarg;
1643 write_pid(pidfile);
/illumos-gate/usr/src/cmd/krb5/slave/
H A Dkpropd.c428 if ((pidfile = fopen(PID_FILE, "w")) != NULL) { in do_standalone()
429 fprintf(pidfile, gettext("%d\n"), getpid()); in do_standalone()
430 fclose(pidfile); in do_standalone()