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