Searched refs:pidfile (Results 1 – 3 of 3) sorted by relevance
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | main.c | 1218 FILE *pidfile; in create_pidfile() local 1222 if ((pidfile = fopen(pidfilename, "w")) != NULL) { in create_pidfile() 1223 (void) fprintf(pidfile, "%u\n", (unsigned)getpid()); in create_pidfile() 1224 (void) fclose(pidfile); in create_pidfile() 1234 FILE *pidfile; in create_linkpidfile() local 1241 if ((pidfile = fopen(linkpidfile, "w")) != NULL) { in create_linkpidfile() 1242 (void) fprintf(pidfile, "%u\n", (unsigned)getpid()); in create_linkpidfile() 1244 (void) fprintf(pidfile, "%s\n", ifname); in create_linkpidfile() 1245 (void) fclose(pidfile); in create_linkpidfile()
|
/titanic_44/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);
|
/titanic_44/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()
|