| /src/external/mpl/bind/dist/bin/tests/system/ |
| stop.pl | 145 my ( $pid_file ) = @_; 147 return unless -f $pid_file; 149 my $result = open(my $fh, "<", $pid_file); 151 print "I:$test:$pid_file: $!\n"; 152 unlink $pid_file; 192 my $pid_file = server_pid_file($server); 193 unlink($pid_file); 218 my $pid_file = server_pid_file($server); 219 my $pid = read_pid($pid_file); 235 my $pid_file = server_pid_file($server) [all...] |
| start.pl | 200 my ( $server, $command, $pid_file ) = @_; 212 while (!-s $pid_file) { 299 my $pid_file; 305 $pid_file = "named.pid"; 311 start_server($server, $command, $pid_file); 356 my $pid_file; 360 $pid_file = "ans.pid"; 366 start_server($server, $command, $pid_file);
|
| /src/external/bsd/am-utils/dist/scripts/ |
| test-amd.conf | 8 pid_file = /var/run/amd.pid
|
| /src/crypto/dist/ipsec-tools/src/racoon/ |
| session.c | 174 char pid_file[MAXPATHLEN]; local 252 strlcpy(pid_file, _PATH_VARRUN "racoon.pid", MAXPATHLEN); 254 strlcpy(pid_file, lcconf->pathinfo[LC_PATHTYPE_PIDFILE], MAXPATHLEN); 256 strlcat(pid_file, _PATH_VARRUN, MAXPATHLEN); 257 strlcat(pid_file, lcconf->pathinfo[LC_PATHTYPE_PIDFILE], MAXPATHLEN); 259 fp = fopen(pid_file, "w"); 269 "cannot open %s", pid_file);
|
| /src/external/bsd/wpa/dist/src/utils/ |
| os_none.c | 47 int os_daemonize(const char *pid_file) 53 void os_daemonize_terminate(const char *pid_file)
|
| os_internal.c | 104 int os_daemonize(const char *pid_file) 111 if (pid_file) { 112 FILE *f = fopen(pid_file, "w"); 123 void os_daemonize_terminate(const char *pid_file) 125 if (pid_file) 126 unlink(pid_file);
|
| os_unix.c | 227 int os_daemonize(const char *pid_file) 237 if (pid_file) { 238 FILE *f = fopen(pid_file, "w"); 250 void os_daemonize_terminate(const char *pid_file) 252 if (pid_file) 253 unlink(pid_file);
|
| os_win32.c | 120 int os_daemonize(const char *pid_file) 127 void os_daemonize_terminate(const char *pid_file)
|
| os.h | 168 * @pid_file: File name to write the process ID to or %NULL to skip this 171 int os_daemonize(const char *pid_file); 175 * @pid_file: File name to write the process ID to or %NULL to skip this 177 void os_daemonize_terminate(const char *pid_file);
|
| /src/external/bsd/am-utils/dist/amd/ |
| amd.c | 198 if (STREQ(gopt.pid_file, "/dev/stdout")) { 206 f = fopen(gopt.pid_file, "w"); 211 fprintf(stderr, "cannot open %s (errno=%d)\n", gopt.pid_file, errno); 285 gopt.pid_file = "/dev/stdout";
|
| amd.h | 276 char *pid_file; /* PID file */ member in struct:amu_global_options
|
| conf.c | 193 {"pid_file", gopt_pid_file}, 615 gopt.pid_file = xstrdup(val);
|
| /src/external/bsd/nsd/dist/contrib/bind2nsd/bind2nsd/ |
| NamedConf.py | 54 self.pid_file = "" 71 report_info(' pid-file: %s' % (self.pid_file)) 93 self.pid_file = name 97 return self.pid_file
|
| /src/external/bsd/wpa/dist/wpa_supplicant/ |
| main.c | 280 os_free(params.pid_file); 281 params.pid_file = os_rel2abs_path(optarg); 405 os_free(params.pid_file);
|
| wpa_priv.c | 1214 char *pid_file = NULL; local 1243 pid_file = os_rel2abs_path(optarg); 1272 if (daemonize && os_daemonize(pid_file) && eloop_sock_requeue()) 1292 os_daemonize_terminate(pid_file); 1293 os_free(pid_file);
|
| wpa_supplicant.c | 5974 static int wpa_supplicant_daemon(const char *pid_file) 5977 return os_daemonize(pid_file); 8030 if (params->pid_file) { 8031 global->params.pid_file = os_strdup(params->pid_file); 8032 if (!global->params.pid_file) { 8173 (wpa_supplicant_daemon(global->params.pid_file) || 8242 if (global->params.pid_file) { 8243 os_daemonize_terminate(global->params.pid_file); 8244 os_free(global->params.pid_file); [all...] |
| wpa_cli.c | 53 static const char *pid_file = NULL; variable 5008 if (pid_file) 5009 os_daemonize_terminate(pid_file); 5130 pid_file = optarg; 5197 if (daemonize && os_daemonize(pid_file) && eloop_sock_requeue())
|
| wpa_supplicant_i.h | 155 * pid_file - Path to a PID (process ID) file 160 char *pid_file; member in struct:wpa_params
|
| /src/external/bsd/wpa/dist/hostapd/ |
| main.c | 481 static void hostapd_global_deinit(const char *pid_file, int eloop_initialized) 508 os_daemonize_terminate(pid_file); 513 const char *pid_file) 535 if (os_daemonize(pid_file)) { 768 char *pid_file = NULL; local 837 os_free(pid_file); 838 pid_file = os_rel2abs_path(optarg); 1019 if (hostapd_global_run(&interfaces, daemonize, pid_file)) { 1050 hostapd_global_deinit(pid_file, interfaces.eloop_initialized); 1051 os_free(pid_file); [all...] |
| hostapd_cli.c | 37 static const char *pid_file = NULL; variable 2159 if (pid_file) 2160 os_daemonize_terminate(pid_file); 2247 pid_file = optarg; 2312 if (daemonize && os_daemonize(pid_file) && eloop_sock_requeue())
|
| /src/crypto/external/bsd/openssh/dist/ |
| sshd.c | 524 if (options.pid_file != NULL) 525 unlink(options.pid_file); 966 if (options.pid_file != NULL) 967 unlink(options.pid_file); 1801 if (options.pid_file != NULL && !debug_flag) { 1802 FILE *f = fopen(options.pid_file, "w"); 1806 options.pid_file, strerror(errno));
|
| servconf.h | 109 char *pid_file; /* Where to put our pid */ member in struct:__anon1130
|
| servconf.c | 114 options->pid_file = NULL; 362 if (options->pid_file == NULL) 363 options->pid_file = xstrdup(_PATH_SSH_DAEMON_PID_FILE); 631 CLEAR_ON_NONE(options->pid_file); 1669 charptr = &options->pid_file; 3570 dump_cfg_string(sPidFile, o->pid_file);
|