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

/illumos-gate/usr/src/cmd/drd/
H A Ddrd.c56 static int drctl_fd; variable
165 assert(drctl_fd == (STDERR_FILENO + 1));
171 closefrom(drctl_fd + 1);
187 if ((drctl_fd = open(DRCTL_DEV, O_RDWR)) == -1) {
202 assert((drctl_fd != -1) || standalone);
210 if (drctl_fd != -1) {
215 if (ioctl(drctl_fd, DRCTL_IOCTL_CONNECT_SERVER, &setup) == -1) {

Completed in 74 milliseconds