Home
last modified time | relevance | path

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

/bionic/libc/upstream-freebsd/lib/libc/stdlib/
Drealpath.c51 realpath(const char * __restrict path, char * __restrict resolved) __overloadable in realpath() argument
68 if (resolved == NULL) { in realpath()
69 resolved = malloc(PATH_MAX); in realpath()
70 if (resolved == NULL) in realpath()
77 resolved[0] = '/'; in realpath()
78 resolved[1] = '\0'; in realpath()
80 return (resolved); in realpath()
84 if (getcwd(resolved, PATH_MAX) == NULL) { in realpath()
86 free(resolved); in realpath()
88 resolved[0] = '.'; in realpath()
[all …]
/bionic/libc/include/
Dstdlib.h86 char * realpath(const char *path, char *resolved) __overloadable
178 char* realpath(const char* path, char* resolved) __overloadable
179 __enable_if(__bos(resolved) != __BIONIC_FORTIFY_UNKNOWN_SIZE &&
180 __bos(resolved) < __PATH_MAX, __realpath_buf_too_small_str)
193 char* realpath(const char* path, char* resolved) { in realpath() argument
194 size_t bos = __bos(resolved); in realpath()
200 return __realpath_real(path, resolved); in realpath()