/ast/src/lib/libast/port/ |
H A D | astwinsize.c | 33 __STDPP__directive pragma pp:hide ioctl sleep 35 #define ioctl ______ioctl 40 #include <sys/ioctl.h> 63 __STDPP__directive pragma pp:nohide ioctl sleep 65 #undef ioctl 120 * tty ioctl() -- no cache 131 if (!ioctl(fd, op, tt)) return(0); 134 v = ioctl(fd, op, tt); 139 else if (!ioctl(fd, op, tt)) return(0);
|
/ast/src/cmd/ie/ |
H A D | terminal.h | 53 # define tcgetattr(fd,tty) ioctl(fd, TCGETS, tty) 54 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) 88 # define tcgetattr(fd,tty) ioctl(fd, TCGETA, tty) 89 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) 118 # define tcgetattr(fd,tty) ioctl(fd, TIOCGETP, tty) 119 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
|
H A D | edit.c | 235 ioctl(fd,TIOCLSET,&l_mask); 238 ioctl(fd,TIOCSETC,&l_ttychars); 241 ioctl(fd,TIOCSLTC,&l_chars); 293 if(ioctl(fd,TIOCGLTC,&l_chars) != SYSERR) 299 if(ioctl(fd,TIOCSLTC,&lchars) != SYSERR) 368 if(ioctl(fd,TIOCGETC,&l_ttychars) == SYSERR) 370 if(ioctl(fd,TIOCLGET,&l_mask)==SYSERR) 376 if(ioctl(fd,TIOCLBIS,&mask)==SYSERR) 382 if(ioctl(fd,TIOCSETC,&ttychars) == SYSERR) 476 if (ioctl(ERRI [all...] |
H A D | editlib.c | 40 # include <sys/ioctl.h> 380 ioctl(ERRIO,TIOCLBIC,&mode);
|
/ast/src/lib/libast/comp/ |
H A D | setsid.c | 65 ioctl(fd, TIOCNOTTY, 0);
|
H A D | fcntl.c | 77 op = ioctl(fd, n == FD_CLOEXEC ? FIOCLEX : FIONCLEX, 0);
|
H A D | open.c | 109 if ((op & O_NOCTTY) && ioctl(fd, TIOCNOTTY, 0))
|
H A D | spawnveg.c | 223 ioctl(2, TIOCSPGRP, &pgid);
|
/ast/src/cmd/ksh93/include/ |
H A D | terminal.h | 73 # define tcgetattr(fd,tty) ioctl(fd, TCGETS, tty) 75 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) 106 # define tcgetattr(fd,tty) ioctl(fd, TCGETA, tty) 107 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) 125 # define tcgetattr(fd,tty) ioctl(fd, TIOCGETP, tty) 126 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) 195 #define ioctl(a,b,c) sh_ioctl(a,b,c,sizeof(c)) macro
|
/ast/src/lib/libcmd/ |
H A D | tty.c | 98 if ((n = ioctl(0, STWLINE, 0)) >= 0)
|
H A D | stty.c | 68 #include <sys/ioctl.h> 576 off = ioctl(0,TIOCGWINSZ,&win); 699 if(ioctl(0,TIOCGWINSZ,&win)<0) 714 if(ioctl(0,TIOCSWINSZ,&win)<0) 892 # define tcgetpgrp(a) (ioctl(a, TIOCGPGRP, &_i_)>=0?_i_:-1)
|
/ast/src/cmd/3d/features/ |
H A D | peek.c | 54 if (ioctl(fds[0], I_PEEK, &pk) > 0 && pk.databuf.len == sizeof(msg))
|
/ast/src/cmd/mailx/ |
H A D | tty.c | 122 # define tcgetattr(fd,tty) ioctl(fd, TCGETS, tty) 124 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) 155 # define tcgetattr(fd,tty) ioctl(fd, TCGETA, tty) 156 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) 174 # define tcgetattr(fd,tty) ioctl(fd, TIOCGETP, tty) 175 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
|
/ast/src/lib/libcs/ |
H A D | cspeek.c | 68 if ((n = ioctl(fd, I_PEEK, &pk)) >= 0) 74 messagef((state->id, NiL, -1, "peek: %d: ioctl I_PEEK error", fd));
|
H A D | csrecv.c | 144 if (!ioctl(fd, TCPGETADDR, &tcp)) 154 messagef((state->id, NiL, -1, "recv: %d: ioctl TCPGETADDR error", fd)); 226 if (ioctl(fd, I_RECVFD, &rcv) < 0) 228 messagef((state->id, NiL, -1, "recv: %d: ioctl I_RECVFD error", fd)); 257 if (ioctl(fd, I_RECVFD, &rcv) < 0) 259 messagef((state->id, NiL, -1, "recv: %d: ioctl I_RECVFD #%d error", fd, i + 1)); 270 else if (ioctl(rcv.fd, I_ACCEPT, NiL) < 0) 272 messagef((state->id, NiL, -1, "recv: %d: ioctl I_ACCEPT error", fd));
|
H A D | cslib.h | 95 #include <sys/ioctl.h>
|
H A D | cspoll.c | 126 if ((pp->event & CS_POLL_CONTROL) && ioctl(fd, FIONREAD, &n))
|
H A D | cspath.c | 147 else if (!ioctl(fd, TCPGETADDR, &tcp))
|
/ast/src/lib/libast/features/ |
H A D | fcntl.c | 36 #define ioctl ______ioctl macro 58 #undef ioctl macro
|
/ast/src/lib/libast/sfio/ |
H A D | sfpkrd.c | 26 #include <sys/ioctl.h> 103 if((r = ioctl(fd,I_PEEK,&pbuf)) < 0) 191 if((r = ioctl(fd,FIONREAD,&avail)) < 0) 198 else /* ioctl failed completely */
|
/ast/src/cmd/ksh93/edit/ |
H A D | edit.c | 243 ioctl(fd,TIOCLSET,&l_mask); 246 ioctl(fd,TIOCSETC,&l_ttychars); 249 ioctl(fd,TIOCSLTC,&l_chars); 310 if(ioctl(fd,TIOCGLTC,&l_chars) != SYSERR) 316 if(ioctl(fd,TIOCSLTC,&lchars) != SYSERR) 414 if(ioctl(fd,TIOCGETC,&l_ttychars) == SYSERR) 416 if(ioctl(fd,TIOCLGET,&l_mask)==SYSERR) 422 if(ioctl(fd,TIOCLBIS,&mask)==SYSERR) 428 if(ioctl(fd,TIOCSETC,&ttychars) == SYSERR) 1504 if((r=ioctl(f 1826 #undef ioctl macro [all...] |
/ast/src/lib/libtk/compat/ |
H A D | unistd.h | 72 extern int ioctl _ANSI_ARGS_((int fd, int request, ...));
|
/ast/src/cmd/ksh93/sh/ |
H A D | jobs.c | 172 # define tcgetpgrp(a) (ioctl(a, TIOCGPGRP, &_i_)>=0?_i_:-1) 178 return(ioctl(fd, TIOCSPGRP, &pgid)); 616 if((job.linedisc = ioctl(JOBTTY, FIOLOOKLD, 0)) <0) 618 if(ioctl(JOBTTY,TIOCGETD,&job.linedisc) !=0) 686 if (ioctl(JOBTTY, FIOPOPLD, 0) < 0) 688 if (ioctl(JOBTTY, FIOPUSHLD, &linedisc) < 0) 690 ioctl(JOBTTY, FIOPUSHLD, &job.linedisc); 695 if(ioctl(JOBTTY,TIOCSETD,&linedisc) !=0) 795 if (ioctl(job.fd, FIOPOPLD, 0) < 0) 797 if (ioctl(jo [all...] |
/ast/src/lib/libtksh/tcl/ |
H A D | tclUnixChan.c | 296 if (ioctl(fd, (int) FIONBIO, &curStatus) < 0) { 307 if (ioctl(fd, (int) FIONBIO, &curStatus) < 0) { 761 if (ioctl(fd, (int) FIONBIO, &curStatus) < 0) { 772 if (ioctl(fd, (int) FIONBIO, &curStatus) < 0) { 1500 if (ioctl(sock, (int) FIONBIO, &setting) == -1) { 1506 if (ioctl(sock, (int) FIONBIO, &setting) == -1) { 1567 (void) ioctl(sock, FIONBIO, &flags); 2062 status = ioctl(sock, FIONBIO, &curState);
|
/ast/src/cmd/pax/ |
H A D | bio.c | 36 #include <sys/ioctl.h> 330 if (ioctl(ap->io->fd, MTIOCTOP, &mt) >= 0) 344 if (ioctl(ap->io->fd, MTIOCTOP, &mt) >= 0) 692 if (ioctl(ap->io->fd, MTIOCTOP, &mt)) 853 if (ioctl(ap->io->fd, MTIOCTOP, &mt) >= 0) 953 return ioctl(fd, MTIOCGETBLKINFO, &mt) < 0 ? 0 : mt.recblksz;
|