Searched refs:path_template (Results 1 – 2 of 2) sorted by relevance
48 static const char path_template[] = "/proc/%d/environ"; in test_ptrace_read() local49 char procenv_path[sizeof(path_template) + 10]; in test_ptrace_read()53 path_template, pid); in test_ptrace_read()
3352 static const char path_template[] = "/proc/self/fd/%d"; in open_proc_fd() local3353 char procfd_path[sizeof(path_template) + 10]; in open_proc_fd()3355 snprintf(procfd_path, sizeof(procfd_path), path_template, fd); in open_proc_fd()