Skip to content

Commit ea4391f

Browse files
ZERICO2005mateoconlechuga
authored andcommitted
Add placeholder ungetc
1 parent 30719ba commit ea4391f

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/libc/ungetc.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#include "__fileioc_stdio.h"
2+
3+
int __attribute__((weak)) ungetc(int ch, FILE *stream)
4+
{
5+
// unimplemented
6+
(void)ch;
7+
(void)stream;
8+
return EOF;
9+
}

0 commit comments

Comments
 (0)