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

/system/core/toolbox/
H A Dlsof.c74 static char link_dest[PATH_MAX]; local
77 if ((link_dest_size = readlink(info->path, link_dest, sizeof(link_dest)-1)) < 0) {
81 snprintf(link_dest, sizeof(link_dest), "%s (readlink: %s)", info->path, strerror(errno));
83 link_dest[link_dest_size] = '\0';
87 if (!strcmp(link_dest, "/"))
92 "???", "???", "???", "???", link_dest);
H A Dls.c151 struct stat link_dest; local
152 if (!stat(path, &link_dest)) {
153 printf("l%c ", mode2kind(link_dest.st_mode));

Completed in 181 milliseconds