mirror of https://github.com/garritfra/ditto-os
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
255 B
17 lines
255 B
4 years ago
|
#include "std.h"
|
||
|
#include "fb.h"
|
||
|
|
||
|
|
||
|
void printf(char *buf) {
|
||
|
fb_write(buf, strlen(buf));
|
||
|
}
|
||
|
|
||
|
void scanf(const char *format);
|
||
|
|
||
|
unsigned int strlen(const char *str) {
|
||
|
const char *s;
|
||
|
|
||
|
for (s = str; *s; ++s)
|
||
|
;
|
||
|
return (s - str);
|
||
|
}
|