res_send: use a temp buffer if caller's buffer is under 512 bytes
[musl] / src / stdio / getchar.c
1 #include <stdio.h>
2 #include "getc.h"
3
4 int getchar(void)
5 {
6         return do_getc(stdin);
7 }