mostly-standard scanf
This commit is contained in:
parent
1ea9d85e3f
commit
f973ff8cb8
4 changed files with 433 additions and 47 deletions
|
@ -3,13 +3,6 @@
|
|||
|
||||
#include <stdc_common.h>
|
||||
|
||||
void *memset(void *s, int c, size_t n) {
|
||||
char *p = s, *end = p + n;
|
||||
while (p < end)
|
||||
*p++ = c;
|
||||
return s;
|
||||
}
|
||||
|
||||
|
||||
|
||||
#endif // _STRING_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue