| plan 9 kernel history: overview | file list | diff list |
1991/0318/port/devsrv.c (diff list | history)
| 1990/11211/sys/src/9/port/devsrv.c:275,281 – 1991/0318/sys/src/9/port/devsrv.c:275,281 (short | long | prev | next) | ||
| 1990/11211 | error(Egreg); | |
| 1990/1110 | if(n >= sizeof buf) | |
| 1990/11211 | error(Egreg); | |
| 1990/0227 |
| |
| 1991/0318 | memmove(buf, va, n); /* so we can NUL-terminate */ | |
| 1990/0227 | buf[n] = 0; fd = strtoul(buf, 0, 0); fdtochan(fd, -1); /* error check only */ | |