diff options
Diffstat (limited to 'std/stdio.c')
| -rw-r--r-- | std/stdio.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/std/stdio.c b/std/stdio.c new file mode 100644 index 0000000..1a4d98c --- /dev/null +++ b/std/stdio.c @@ -0,0 +1,12 @@ +#include <stdio.h> +#include <stdlib.h> + +char* readln() { + char* str = malloc(128); + scanf("%127s", str); + return str; +} + +void print(char *str) { + fputs(str, stdout); +} |
