Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/components/newlib/
Drealpath.c27 char * out_path = resolved_name; in realpath() local
28 if (out_path == NULL) { in realpath()
30 out_path = malloc(PATH_MAX); in realpath()
31 if (out_path == NULL) { in realpath()
38 strlcpy(out_path, "/", PATH_MAX); in realpath()
42 char* out_ptr = out_path + 1; in realpath()
65 out_ptr = out_path + 1; in realpath()
70 char * prev_sep = strrchr(out_path, '/'); in realpath()
71 assert(prev_sep > out_path); /* this shouldn't be the leading separator */ in realpath()
78 if (out_ptr - out_path + 1 + path_component_len > PATH_MAX - 1) { in realpath()
[all …]