31 static char buf[PATH_MAX];
34 xsnprintf (name, PATH_MAX,
"/proc/%d/exe", pid);
35 len = readlink (name, buf, PATH_MAX - 1);
char * nbsd_pid_to_exec_file(struct target_ops *self, int pid)
int xsnprintf(char *str, size_t size, const char *format,...)
mach_port_t mach_port_t name mach_port_t mach_port_t name error_t int int rusage_t pid_t pid
const ULONGEST const LONGEST len