| plan 9 kernel history: overview | file list | diff list |
1998/0319/port/devcons.c (diff list | history)
| 1998/0319/sys/src/9/port/devcons.c:817,823 – 1998/0403/sys/src/9/port/devcons.c:817,823 (short | long | prev | next) | ||
|
Incref swap channel.
#see 1998/0403/port/swap.c rsc Fri Mar 4 12:44:25 2005 | ||
| 1992/0310 | if(buf[0]<'0' || '9'<buf[0]) | |
| 1992/0228 | error(Ebadarg); | |
| 1991/0705 | fd = strtoul(buf, 0, 0); | |
| 1992/0825 |
| |
| 1998/0403 | swc = fdtochan(fd, -1, 1, 1); | |
| 1991/0705 | setswapchan(swc); | |
| 1992/0321 | break; | |