Stub out most of stdio on AltOS
[fw/pdclib] / platform / altos / functions / stdio / fsetpos.c
1 /* $Id$ */
2
3 /* fsetpos( FILE *, const fpos_t * )
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 fsetpos( struct _PDCLIB_file_t * stream, const struct _PDCLIB_fpos_t * pos )
14 {
15     stream->pos.status = 0;
16     /* TODO: Add mbstate. */
17     return 0;
18 }
19
20 #endif
21
22 #ifdef TEST
23 #include <_PDCLIB_test.h>
24
25 int main( void )
26 {
27     /* fsetpos() tested together with fsetpos(). */
28     return TEST_RESULTS;
29 }
30
31 #endif