Searched refs:sb (Results 1 – 2 of 2) sorted by relevance
105 struct stat sb; in uv__tty_is_slave() local116 if (uv__fstat(fd, &sb) != 0) in uv__tty_is_slave()120 if (!S_ISCHR(sb.st_mode)) in uv__tty_is_slave()124 if (major(sb.st_rdev) == NODEVMAJOR) in uv__tty_is_slave()127 result = (pts == major(sb.st_rdev)); in uv__tty_is_slave()
101 struct stat sb; in uv__io_check_fd() local106 if (uv__fstat(fd, &sb)) in uv__io_check_fd()117 if (S_ISREG(sb.st_mode) || S_ISDIR(sb.st_mode)) in uv__io_check_fd()125 if (S_ISFIFO(sb.st_mode)) { in uv__io_check_fd()
Completed in 5 milliseconds