| plan 9 kernel history: overview | file list | diff list |
1992/0617/boot/aux.c (diff list | history)
| 1992/0610/sys/src/9/boot/aux.c:129,140 – 1992/0617/sys/src/9/boot/aux.c:129,142 (short | long | prev | next) | ||
| 1992/0317 | int n; char buf[256]; | |
| 1992/0609 |
| |
| 1992/0617 | if(cpuflag) alarm(60*1000); | |
| 1992/0317 | do{ print("%s[%s]: ", prompt, *def ? def : "no default"); n = read(0, buf, len); }while(n==0); | |
| 1992/0609 |
| |
| 1992/0617 | if(cpuflag) alarm(0); | |
| 1992/0317 | if(n < 0) | |
| 1992/0609 | fatal("can't read #c/cons or timeout; please reboot"); | |
| 1992/0317 | if(n != 1){ | |