Searched refs:link_dest (Results 1 – 2 of 2) sorted by relevance
/system/core/toolbox/ |
D | lsof.c | 74 static char link_dest[PATH_MAX]; in print_type() local 77 if ((link_dest_size = readlink(info->path, link_dest, sizeof(link_dest)-1)) < 0) { in print_type() 81 snprintf(link_dest, sizeof(link_dest), "%s (readlink: %s)", info->path, strerror(errno)); in print_type() 83 link_dest[link_dest_size] = '\0'; in print_type() 87 if (!strcmp(link_dest, "/")) in print_type() 92 "???", "???", "???", "???", link_dest); in print_type()
|
D | ls.c | 148 struct stat link_dest; in listfile_size() local 149 if (!stat(path, &link_dest)) { in listfile_size() 150 printf("l%c ", mode2kind(link_dest.st_mode)); in listfile_size()
|