Implemented putchar()
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
6
photon/libc/stdio/putchar.c
Normal file
6
photon/libc/stdio/putchar.c
Normal file
@@ -0,0 +1,6 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int putchar(int c)
|
||||
{
|
||||
return fputc(c, stdout);
|
||||
}
|
||||
Reference in New Issue
Block a user