Implemented putchar()

This commit is contained in:
Max Wash
2020-08-09 15:22:23 +01:00
parent e4674e69e9
commit cff3723792
2 changed files with 7 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ extern int fileno(FILE *fp);
extern int fputs(const char *str, FILE *fp);
extern int fputc(int c, FILE *fp);
extern int fgetc(FILE *fp);
extern int putchar(int c);
extern int ungetc(int c, FILE *fp);

View File

@@ -0,0 +1,6 @@
#include <stdio.h>
int putchar(int c)
{
return fputc(c, stdout);
}