]> pd.if.org Git - pdclib/blob - functions/stdio/putc.c
PDCLib includes with quotes, not <>.
[pdclib] / functions / stdio / putc.c
1 /* putc( int, FILE * )
2
3    This file is part of the Public Domain C Library (PDCLib).
4    Permission is granted to use, modify, and / or redistribute at will.
5 */
6
7 #include <stdio.h>
8
9 #ifndef REGTEST
10 #include "_PDCLIB_io.h"
11
12 int _PDCLIB_putc_unlocked( int c, FILE * stream )
13 {
14     return _PDCLIB_fputc_unlocked( c, stream );
15 }
16
17
18 int putc( int c, FILE * stream )
19 {
20     return fputc( c, stream );
21 }
22
23 #endif
24
25 #ifdef TEST
26 #include "_PDCLIB_test.h"
27
28 int main( void )
29 {
30     /* Testing covered by ftell.c */
31     return TEST_RESULTS;
32 }
33
34 #endif