Searched refs:CMDLINE_PATH_LEN (Results 1 – 2 of 2) sorted by relevance
26 constexpr int CMDLINE_PATH_LEN = 32; variable65 char path[CMDLINE_PATH_LEN] = { 0 }; in GetNameByPid()66 if (snprintf_s(path, CMDLINE_PATH_LEN, CMDLINE_PATH_LEN - 1, "/proc/%u/cmdline", pid) <= 0) { in GetNameByPid()
38 constexpr int CMDLINE_PATH_LEN = 32; variable423 char path[CMDLINE_PATH_LEN] = { 0 }; in GetNameByPid()424 if (snprintf_s(path, CMDLINE_PATH_LEN, CMDLINE_PATH_LEN - 1, "/proc/%d/cmdline", pid) <= 0) { in GetNameByPid()