Home
last modified time | relevance | path

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

/kernel/liteos_a/syscall/
H A Dfs_syscall.c355 char *pidStr = NextName(fullPath + procLen, &strLen); in ProcRealProcessDirGet() local
356 if (pidStr == NULL) { in ProcRealProcessDirGet()
361 if ((*pidStr <= '0') || (*pidStr > '9')) { in ProcRealProcessDirGet()
366 if (memcpy_s(pidBuf, PATH_MAX, pidStr, strLen) != EOK) { in ProcRealProcessDirGet()
384 if (snprintf_s(path, PATH_MAX + 1, PATH_MAX, "/proc/%d%s", rootPid, (pidStr + strLen)) < 0) { in ProcRealProcessDirGet()

Completed in 4 milliseconds