S_ISSOCK
!S_ISSOCK(target.st_mode) &&
} else if (!S_ISSOCK(pr->pr_mode)) {
if (S_ISSOCK(pr->pr_mode)) {
if (S_ISSOCK(ph->ph_mode) && ph->ph_type == type &&
return (S_ISSOCK(stats.st_mode));
return (S_ISSOCK(stats.st_mode));
return (S_ISSOCK(statb.st_mode));
return (S_ISSOCK(mode));
else if (!S_ISSOCK(s.st_mode))
# ifdef S_ISSOCK
|| S_ISSOCK(sockinfo.st_mode)
# ifdef S_ISSOCK
|| S_ISSOCK(fileinfo.st_mode)
# ifdef S_ISSOCK
|| S_ISSOCK(fileinfo.st_mode)
return (S_ISSOCK(fd));
else if (!S_ISSOCK(st->st_mode))
if (S_ISSOCK(buf->st_mode))
S_ISSOCK(fstatbuf.st_mode) || S_ISDOOR(fstatbuf.st_mode)) {