Searched refs:pidstr (Results 1 - 5 of 5) sorted by relevance

/external/iproute2/ip/
H A Dipnetns.c494 const char *pidstr; local
502 pidstr = "self";
507 pidstr = argv[0];
508 if (!is_pid(pidstr)) {
510 pidstr);
515 snprintf(net_path, sizeof(net_path), "/proc/%s/ns/net", pidstr);
/external/dbus/dbus/
H A Ddbus-sysdeps-util-win.c86 char pidstr[20]; local
108 if (snprintf (pidstr, sizeof (pidstr), "%lu\n", pid) < 0)
118 bytes_to_write = strlen (pidstr);;
125 res = WriteFile (hnd, pidstr + total, bytes_to_write - total,
/external/toybox/lib/
H A Dlib.c768 int sig_to_num(char *pidstr) argument
772 if (pidstr) {
775 i = estrtol(pidstr, &s, 10);
778 if (!strncasecmp(pidstr, "sig", 3)) pidstr+=3;
781 if (!pidstr) xputs(signames[i].name);
782 else if (!strcasecmp(pidstr, signames[i].name)) return signames[i].num;
H A Dlib.h275 int sig_to_num(char *pidstr);
/external/valgrind/callgrind/
H A Dcallgrind_control.in354 $pidstr = "PID $pid: ";
355 if ($pid >0) { print $pidstr.$cmdline{$pid}; }

Completed in 252 milliseconds