Lines Matching defs:dcr
734 int dcr, dcr2, nullfd, ret;
739 dcr = open(dcname, O_WRONLY|O_NDELAY);
740 if (dcr < 0) {
745 if ( fd_mklock(dcr) != SUCCESS ) {
746 (void)close(dcr);
752 sytfixline(dcr, atoi(fdig(dev[D_CLASS])), D_DIRECT);
756 ret = (*Write)(dcr, command, strlen(command));
759 sytfix2line(dcr);
766 fd_rmlock(dcr);
767 (void) close(dcr);
774 fd_rmlock(dcr);
775 (void) close(dcr);