2020-12-05 00:13:29 +00:00
|
|
|
/* putchar.c -- write a character to stdout */
|
2021-02-25 02:15:55 +00:00
|
|
|
/* Copyright (c) 2020-2021 Renaud Fivet */
|
2020-12-05 00:13:29 +00:00
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include "system.h" /* kputc() */
|
|
|
|
|
2021-02-25 02:15:55 +00:00
|
|
|
int (putchar)( int c) { /* putchar may be defined as macro in stdio.h */
|
2020-12-05 00:13:29 +00:00
|
|
|
kputc( c) ;
|
|
|
|
return c ;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* end of putchar.c */
|