Searched refs:pidstr (Results 1 – 5 of 5) sorted by relevance
/external/iproute2/ip/ |
D | ipnetns.c | 494 const char *pidstr; in netns_identify() local 502 pidstr = "self"; in netns_identify() 507 pidstr = argv[0]; in netns_identify() 508 if (!is_pid(pidstr)) { in netns_identify() 510 pidstr); in netns_identify() 515 snprintf(net_path, sizeof(net_path), "/proc/%s/ns/net", pidstr); in netns_identify()
|
/external/toybox/lib/ |
D | lib.c | 768 int sig_to_num(char *pidstr) in sig_to_num() argument 772 if (pidstr) { in sig_to_num() 775 i = estrtol(pidstr, &s, 10); in sig_to_num() 778 if (!strncasecmp(pidstr, "sig", 3)) pidstr+=3; in sig_to_num() 781 if (!pidstr) xputs(signames[i].name); in sig_to_num() 782 else if (!strcasecmp(pidstr, signames[i].name)) return signames[i].num; in sig_to_num()
|
D | lib.h | 275 int sig_to_num(char *pidstr);
|
/external/dbus/dbus/ |
D | dbus-sysdeps-util-win.c | 86 char pidstr[20]; in _dbus_write_pid_file() local 108 if (snprintf (pidstr, sizeof (pidstr), "%lu\n", pid) < 0) in _dbus_write_pid_file() 118 bytes_to_write = strlen (pidstr);; in _dbus_write_pid_file() 125 res = WriteFile (hnd, pidstr + total, bytes_to_write - total, in _dbus_write_pid_file()
|
/external/valgrind/callgrind/ |
D | callgrind_control.in | 354 $pidstr = "PID $pid: "; 355 if ($pid >0) { print $pidstr.$cmdline{$pid}; }
|