kern
diff src/klibc/string.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 | 86781ef20689 |
children | 633e35c64772 |
line diff
1.1 --- a/src/klibc/string.c Sat Dec 04 10:12:39 2010 +0200 1.2 +++ b/src/klibc/string.c Fri Dec 10 03:44:34 2010 +0200 1.3 @@ -8,6 +8,9 @@ 1.4 } 1.5 } 1.6 1.7 +/* Does the same thing as memset only with 16bit values. 1.8 + * n in this case is the number of values, not the number of bytes. 1.9 + */ 1.10 void memset16(void *s, int c, size_t n) 1.11 { 1.12 short *ptr = s;