diff options
Diffstat (limited to 'usrbin')
| -rw-r--r-- | usrbin/main.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/usrbin/main.c b/usrbin/main.c index 3b6dd97..70c0ab3 100644 --- a/usrbin/main.c +++ b/usrbin/main.c @@ -50,6 +50,23 @@ void pid2(void) { } void main(void) { + int i; + char c = 'a'; + char buf[2048]; + +/* + * for(i = 0; i < 2048; i++) { + * buf[i] = c; + * + * c++; + * if(c > 'z') + * c = 'a'; + * } + * ctty(1); + * write(buf, 2048); + * while(1); + */ + if(getpid() == 1) { ctty(1); pid1(); |
