Home
last modified time | relevance | path

Searched refs:sb (Results 1 – 2 of 2) sorted by relevance

/libuv/src/unix/
H A Dtty.c105 struct stat sb; in uv__tty_is_slave() local
116 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()
H A Dkqueue.c101 struct stat sb; in uv__io_check_fd() local
106 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