HomeSort by relevance Sort by last modified time
    Searched refs:pidfile (Results 1 - 16 of 16) sorted by null

  /external/dropbear/debian/
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/
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);
runopts.h 87 char * pidfile; member in struct:svr_runopts
svr-runopts.c 78 "-P PidFile Create pid file PidFile\n"
114 svr_opts.pidfile = DROPBEAR_PIDFILE;
196 next = &svr_opts.pidfile;
  /external/dhcpcd/
dhcpcd.h 83 char pidfile[PATH_MAX]; member in struct:options
dhcpcd.c 144 read_pid(const char *pidfile)
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);
    [all...]
client.c     [all...]
  /external/dbus/bus/
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...]
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_names, attribute_values, error)
    [all...]
  /external/bluetooth/bluez/compat/
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/webkit/WebKitTools/Scripts/webkitpy/layout_tests/port/
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/ppp/pppd/
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);
    [all...]
  /external/dbus/dbus/
dbus-sysdeps-util-unix.c 63 * @param pidfile #NULL, or pidfile to create
69 _dbus_become_daemon (const DBusString *pidfile,
124 if (pidfile)
127 if (!_dbus_write_pid_file (pidfile,
dbus-sysdeps.h 366 dbus_bool_t _dbus_become_daemon (const DBusString *pidfile,
  /external/dnsmasq/src/
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);
    [all...]
  /external/dbus/
configure     [all...]

Completed in 296 milliseconds