Lines Matching defs:linedisc
482 if((job.linedisc = ioctl(JOBTTY, FIOLOOKLD, 0)) <0)
484 if(ioctl(JOBTTY,TIOCGETD,&job.linedisc) !=0)
487 if(job.linedisc!=NTTYDISC && job.linedisc!=OTTYDISC)
495 if(job.linedisc==NTTYDISC)
496 job.linedisc = -1;
546 if(job.linedisc>=0)
548 int linedisc = NTTYDISC;
553 if (ioctl(JOBTTY, FIOPUSHLD, &linedisc) < 0)
555 ioctl(JOBTTY, FIOPUSHLD, &job.linedisc);
560 if(ioctl(JOBTTY,TIOCSETD,&linedisc) !=0)
566 job.linedisc = -1;
655 if(job.linedisc>=0)
662 if (ioctl(job.fd, FIOPUSHLD, &job.linedisc) < 0)
664 job.linedisc = NTTYDISC;
665 ioctl(job.fd, FIOPUSHLD, &job.linedisc);
670 if(ioctl(job.fd,TIOCSETD,&job.linedisc) !=0)