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

/netbsd-6-1-5-RELEASE/games/hack/
H A Ddef.trap.h69 unsigned ttyp:5; member in struct:trap
87 #define TRAPNUM 9 /* if not less than 32, change sizeof(ttyp) */
H A Dhack.search.c99 if (ttmp->ttyp == PIERC) {
161 pline("You find a%s.", traps[trap->ttyp]);
162 if (trap->ttyp == PIERC) {
188 if ((u.dz < 0) != (!xdnstair && trap->ttyp == TRAPDOOR))
190 pline("That is a%s.", traps[trap->ttyp]);
H A Dhack.trap.c98 ttmp->ttyp = typ;
111 int ttype = trap->ttyp;
205 impossible("You hit a trap of type %u", trap->ttyp);
222 int tt = trap->ttyp;
333 switch (trap->ttyp) {
H A Dhack.apply.c418 ttmp->ttyp = TRAPDOOR;
H A Dhack.c243 switch (ttmp->ttyp) {
H A Dhack.mklev.c851 if (mazeflag && !rn2(10) && ttmp->ttyp < PIERC)
H A Dhack.mon.c648 tt = 1 << ttmp->ttyp;
/netbsd-6-1-5-RELEASE/lib/libc/gen/
H A Dttyslot.c57 struct ttyent *ttyp; local
81 for (slot = 1; (ttyp = getttyent()) != NULL; ++slot)
82 if (!strcmp(ttyp->ty_name, p)) {
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/ntpd/
H A Dntp_refclock.c775 TTY ttyb, *ttyp; local
788 ttyp = &ttyb;
794 if (tcgetattr(fd, ttyp) < 0) {
807 ttyp->c_iflag = IGNBRK | IGNPAR | ICRNL;
808 ttyp->c_oflag = 0;
809 ttyp->c_cflag = CS8 | CLOCAL | CREAD;
812 ttyp->c_cflag = CS7 | PARENB | PARODD | CLOCAL | CREAD;
817 ttyp->c_cc[i] = '\0';
835 ttyp->c_cflag &= ~CLOCAL;
842 ttyp
[all...]
H A Drefclock_leitch.c312 { struct termios ttyb, *ttyp; local
314 ttyp = &ttyb;
315 if (tcgetattr(fd232, ttyp) < 0) {
320 ttyp->c_iflag = IGNBRK|IGNPAR|ICRNL;
321 ttyp->c_oflag = 0;
322 ttyp->c_cflag = SPEED232|CS8|CLOCAL|CREAD;
323 ttyp->c_lflag = ICANON;
324 ttyp->c_cc[VERASE] = ttyp->c_cc[VKILL] = '\0';
325 if (tcsetattr(fd232, TCSANOW, ttyp) <
[all...]
H A Drefclock_msfees.c443 struct termios ttyb, *ttyp; local
487 ttyp = &ttyb;
488 if (tcgetattr(fd232, ttyp) < 0) {
493 ttyp->c_iflag = IGNBRK|IGNPAR|ICRNL;
494 ttyp->c_cflag = SPEED232|CS8|CLOCAL|CREAD;
495 ttyp->c_oflag = 0;
496 ttyp->c_lflag = ICANON;
497 ttyp->c_cc[VERASE] = ttyp->c_cc[VKILL] = '\0';
498 if (tcsetattr(fd232, TCSANOW, ttyp) <
[all...]
/netbsd-6-1-5-RELEASE/sys/kern/
H A Dkern_proc.c1070 struct tty *ttyp; local
1085 ttyp = ss->s_ttyp;
1086 if (ttyp != NULL && ttyp->t_pgrp == pg) {
1087 ttyp->t_pgrp = NULL;
1088 KASSERT(ttyp->t_session == ss);
/netbsd-6-1-5-RELEASE/etc/
H A DMAKEDEV.tmpl1265 mkdev ttyp$j c %pts_chr% $jn 666

Completed in 534 milliseconds