/external/dropbear/debian/ |
H A D | dropbear.init | 34 start-stop-daemon --start --quiet --pidfile /var/run/"$NAME".pid \ 41 start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/"$NAME".pid 47 start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/"$NAME".pid 49 start-stop-daemon --start --quiet --pidfile /var/run/"$NAME".pid \
|
/external/dropbear/ |
H A D | svr-main.c | 120 FILE *pidfile = NULL; local 154 pidfile = fopen(svr_opts.pidfile, "w"); 155 if (pidfile) { 156 fprintf(pidfile, "%d\n", getpid()); 157 fclose(pidfile); 197 unlink(svr_opts.pidfile);
|
H A D | runopts.h | 87 char * pidfile; member in struct:svr_runopts
|
H A D | svr-runopts.c | 114 svr_opts.pidfile = DROPBEAR_PIDFILE; 196 next = &svr_opts.pidfile;
|
/external/dhcpcd/ |
H A D | dhcpcd.h | 83 char pidfile[PATH_MAX]; member in struct:options
|
H A D | dhcpcd.c | 144 read_pid(const char *pidfile) argument 149 if ((fp = fopen(pidfile, "r")) == NULL) { 890 snprintf(options->pidfile, sizeof(options->pidfile), PIDFILE, 939 pid = read_pid(options->pidfile); 948 unlink(options->pidfile); 961 if (read_pid(options->pidfile) == 0) { 982 if ((pid = read_pid(options->pidfile)) > 0 && 987 pid, options->pidfile); 991 pid_fd = open(options->pidfile, [all...] |
H A D | client.c | 1846 unlink(options->pidfile);
|
/external/dbus/bus/ |
H A D | bus.c | 45 char *pidfile; member in struct:BusContext 267 const char *user, *pidfile; local 284 pidfile = bus_config_parser_get_pidfile (parser); 285 if (pidfile != NULL) 290 _dbus_string_init_const (&u, pidfile); 296 pidfile); 302 context->pidfile = _dbus_strdup (pidfile); 689 if (context->pidfile) 690 _dbus_string_init_const (&u, context->pidfile); [all...] |
H A D | config-parser.c | 125 char *pidfile; /**< PID file */ member in struct:BusConfigParser 164 return "pidfile"; 376 if (included->pidfile != NULL) 378 dbus_free (parser->pidfile); 379 parser->pidfile = included->pidfile; 380 included->pidfile = NULL; 526 dbus_free (parser->pidfile); 754 else if (strcmp (element_name, "pidfile") == 0) 756 if (!check_no_attributes (parser, "pidfile", attribute_name [all...] |
/external/webkit/WebKitTools/Scripts/webkitpy/layout_tests/port/ |
H A D | websocket_server.py | 90 pidfile=None): 111 self._pidfile = pidfile 278 option_parser.add_option('--pidfile', help='path to pid file.') 295 if options.pidfile: 296 kwds['pidfile'] = options.pidfile
|
/external/bluetooth/bluez/compat/ |
H A D | pand.c | 81 static char *pidfile = NULL; variable 506 fd = open(pidfile, O_WRONLY|O_TRUNC|O_CREAT|O_EXCL, 0644); 509 fd = open(pidfile, O_RDONLY); 511 syslog(LOG_ERR, "Could not read old pidfile: %s(%d)", 524 syslog(LOG_ERR, "Could not fdopen old pidfile: %s(%d)", 539 syslog(LOG_INFO, "Removing stale pidfile"); 540 unlink(pidfile); 546 pidfile = NULL; 555 syslog(LOG_ERR, "Could not fdopen new pidfile: %s(%d)", 558 unlink(pidfile); [all...] |
/external/ppp/pppd/ |
H A D | main.c | 855 FILE *pidfile; local 859 if ((pidfile = fopen(pidfilename, "w")) != NULL) { 860 fprintf(pidfile, "%d\n", pid); 861 (void) fclose(pidfile); 874 FILE *pidfile; local 881 if ((pidfile = fopen(linkpidfile, "w")) != NULL) { 882 fprintf(pidfile, "%d\n", pid); 884 fprintf(pidfile, "%s\n", ifname); 885 (void) fclose(pidfile);
|
/external/dbus/dbus/ |
H A D | dbus-sysdeps-util-unix.c | 63 * @param pidfile #NULL, or pidfile to create 69 _dbus_become_daemon (const DBusString *pidfile, argument 124 if (pidfile) 127 if (!_dbus_write_pid_file (pidfile,
|
H A D | dbus-sysdeps.h | 366 dbus_bool_t _dbus_become_daemon (const DBusString *pidfile,
|
/external/dnsmasq/src/ |
H A D | dnsmasq.c | 336 /* write pidfile _after_ forking ! */ 339 FILE *pidfile; local 342 if ((pidfile = fopen(daemon->runfile, "w"))) 344 fprintf(pidfile, "%d\n", (int) getpid()); 345 fclose(pidfile); 790 die(_("failed to open pidfile %s: %s"), daemon->runfile, EC_FILE);
|
/external/dbus/ |
H A D | configure | 1070 --with-system-pid-file=pidfile
|