BizHawk/waterbox/libc/functions/stdio/putchar.c

34 lines
504 B
C

/* putchar( int )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
#include <stdio.h>
#ifndef REGTEST
#include "_PDCLIB_io.h"
int _PDCLIB_putchar_unlocked( int c )
{
return _PDCLIB_fputc_unlocked( c, stdout );
}
int putchar( int c )
{
return fputc( c, stdout );
}
#endif
#ifdef TEST
#include "_PDCLIB_test.h"
int main( void )
{
/* Testing covered by ftell.c */
return TEST_RESULTS;
}
#endif