Added stubs for stdio.h functions
putchar() and puts() are platform-dependent
This commit is contained in:
11
src/stdio.c
Normal file
11
src/stdio.c
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
#include "stdio.h"
|
||||||
|
|
||||||
|
int printf(const char *format, ...)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
int sprintf(char *str, const char *format, ...)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
11
src/x86/putc.c
Normal file
11
src/x86/putc.c
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
#include "stdio.h"
|
||||||
|
|
||||||
|
int putchar(int c)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
int puts(const char *str)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user