kern

annotate src/klibc/stdio.c @ 4:0489a34ab348

- reverted the trunk back to hardware scrolling - added a missing include (ctype.h in term.c) - added a comment explaining what memset16 does - beefed up the README file
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 10 Dec 2010 03:44:34 +0200
parents ebe5e0e44a9d
children 633e35c64772
rev   line source
nuclear@1 1 #include <stdio.h>
nuclear@1 2
nuclear@1 3 /* putchar is defined in term.c */
nuclear@1 4
nuclear@1 5 int puts(const char *s)
nuclear@1 6 {
nuclear@1 7 while(*s) {
nuclear@1 8 putchar(*s++);
nuclear@1 9 }
nuclear@2 10 putchar('\n');
nuclear@1 11 return 0;
nuclear@1 12 }