Searched defs:pidfile (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipmon.c134 static char *pidfile = "/etc/ipf/ipmon.pid"; variable
137 static char *pidfile = "/var/run/ipmon.pid"; variable
139 static char *pidfile = "/etc/ipmon.pid"; variable
1348 "[ [-o [NSI]] [-O [NSI]]", "[-P pidfile]", "[-S device]",
1526 pidfile = optarg;
1639 write_pid(pidfile);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dmain.c1218 FILE *pidfile; local
1222 if ((pidfile = fopen(pidfilename, "w")) != NULL) {
1223 (void) fprintf(pidfile, "%u\n", (unsigned)getpid());
1224 (void) fclose(pidfile);
1234 FILE *pidfile; local
1241 if ((pidfile = fopen(linkpidfile, "w")) != NULL) {
1242 (void) fprintf(pidfile, "%u\n", (unsigned)getpid());
1244 (void) fprintf(pidfile, "%s\n", ifname);
1245 (void) fclose(pidfile);

Completed in 394 milliseconds