Home
last modified time | relevance | path

Searched refs:PROC_PID_DIR_LEN (Results 1 – 1 of 1) sorted by relevance

/kernel/liteos_a/fs/proc/os_adapt/
Dprocess_proc.c77 #define PROC_PID_DIR_LEN 100 macro
628 char pidName[PROC_PID_DIR_LEN] = {0}; in ProcCreatePorcess()
635 … ret = snprintf_s(pidName, PROC_PID_DIR_LEN, PROC_PID_DIR_LEN - 1, "%u/%s", pid, porcess->name); in ProcCreatePorcess()
637 ret = snprintf_s(pidName, PROC_PID_DIR_LEN, PROC_PID_DIR_LEN - 1, "%u", pid); in ProcCreatePorcess()
641 … ret = snprintf_s(pidName, PROC_PID_DIR_LEN, PROC_PID_DIR_LEN - 1, "%s/%s", "self", porcess->name); in ProcCreatePorcess()
643 ret = snprintf_s(pidName, PROC_PID_DIR_LEN, PROC_PID_DIR_LEN - 1, "%s", "self"); in ProcCreatePorcess()