proc_path 36 lib/common/pid.c char proc_path[PATH_MAX], exe_path[PATH_MAX]; proc_path 37 lib/common/pid.c snprintf(proc_path, sizeof(proc_path), "/proc/%lld/exe", proc_path 40 lib/common/pid.c if (readlink(proc_path, exe_path, sizeof(exe_path) - 1) < 0) { proc_path 69 lib/common/pid.c char proc_path[PATH_MAX], exe_path[PATH_MAX], myexe_path[PATH_MAX]; proc_path 70 lib/common/pid.c snprintf(proc_path, sizeof(proc_path), "/proc/%lld/exe", proc_path 73 lib/common/pid.c rc = readlink(proc_path, exe_path, sizeof(exe_path) - 1); proc_path 87 lib/common/pid.c proc_path, strerror(rdlnk_errno), rdlnk_errno); proc_path 90 lib/common/pid.c proc_path, strerror(rdlnk_errno), rdlnk_errno);