| plan 9 kernel history: overview | file list | diff list |
1990/0731/gnot/devincon.c (diff list | history)
| 1990/0725/sys/src/9/gnot/devincon.c:683,696 – 1990/0731/sys/src/9/gnot/devincon.c:683,696 (short | long | prev | next) | ||
| 1990/0315 | bp->base[1] = ip->chan>>8; bp->base[2] = c; | |
| 1990/0629 | if(incondebug) | |
| 1990/0731 | print("<-(%d)%uo %d\n", ip->chan, c, bp->wptr-bp->rptr); | |
| 1990/0315 | ||
| 1990/0321 |
| |
| 1990/0731 | next = (ip->wi+1)%Nin; | |
| 1990/0321 | if(next == ip->ri){ bp->wptr = bp->base+3; return bp; } | |
| 1990/0731 | ip->wi = next; | |
| 1990/0321 | ||
| 1990/0315 | return ip->inb[ip->wi]; } | |