Searched refs:proc_path (Results 1 - 3 of 3) sorted by relevance

/netbsd-current/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_procmaps_solaris.cpp54 char proc_path[PATH_MAX + 1]; local
56 internal_snprintf(proc_path, sizeof(proc_path), "/proc/self/path/%s",
58 ssize_t sz = internal_readlink(proc_path, segment->filename,
/netbsd-current/external/gpl3/gdb.old/dist/gdb/
H A Dnto-procfs.c671 static char proc_path[PATH_MAX]; local
675 snprintf (proc_path, sizeof (proc_path), "%s/proc/%d/exefile",
677 proc_fd = open (proc_path, O_RDONLY);
681 rd = read (proc_fd, proc_path, sizeof (proc_path) - 1);
685 proc_path[0] = '\0';
688 proc_path[rd] = '\0';
689 return proc_path;
/netbsd-current/external/gpl3/gdb/dist/gdb/
H A Dnto-procfs.c671 static char proc_path[PATH_MAX]; local
675 snprintf (proc_path, sizeof (proc_path), "%s/proc/%d/exefile",
677 proc_fd = open (proc_path, O_RDONLY);
681 rd = read (proc_fd, proc_path, sizeof (proc_path) - 1);
685 proc_path[0] = '\0';
688 proc_path[rd] = '\0';
689 return proc_path;

Completed in 194 milliseconds