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

/osnet-11/usr/src/lib/libc/port/gen/
H A D_xftw.c152 struct dirent *direntp; local
212 while (direntp = readdir(dirp)) {
215 if (strcmp(direntp->d_name, ".") == 0 ||
216 strcmp(direntp->d_name, "..") == 0)
221 subpath = malloc(n + strlen(direntp->d_name) + 2);
232 (void) strlcpy(&subpath[n], direntp->d_name, MAXNAMELEN);
H A Dttyname.c500 struct dirent64 *direntp; local
537 while ((!found) && ((direntp = readdir64(dirp)) != NULL)) {
541 if (direntp->d_name[0] == '.' &&
542 (strcmp(direntp->d_name, ".") == 0 ||
543 strcmp(direntp->d_name, "..") == 0))
550 if ((path_len + strlen(direntp->d_name) + 2) > MAX_DEV_PATH)
553 (void) strcpy(last_comp, direntp->d_name);
/osnet-11/usr/src/lib/libprtdiag/common/
H A Dio.c437 struct dirent *direntp; local
455 while ((direntp = readdir(dirp)) != NULL) {
456 if (strstr(direntp->d_name, device) != NULL) {
458 direntp->d_name);

Completed in 29 milliseconds