Searched refs:pidfile (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | main.c | 1215 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 D | ipmon.c | 138 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 D | kpropd.c | 428 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()
|