Stub out most of stdio on AltOS
[fw/pdclib] / platform / altos / functions / stdio / ungetc.c
1 /* $Id$ */
2
3 /* ungetc( 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 extern int PDCLIB_NO_ACTUAL_STDIO();
14
15 int ungetc( int c, struct _PDCLIB_file_t * stream )
16 {
17     return PDCLIB_NO_ACTUAL_STDIO();
18 }
19
20 #endif
21
22 #ifdef TEST
23 #include <_PDCLIB_test.h>
24
25 int main( void )
26 {
27     /* Testing covered by ftell.c */
28     return TEST_RESULTS;
29 }
30
31 #endif