]> pd.if.org Git - pdclib/blobdiff - functions/stdio/fsetpos.c
Test drivers for fgetpos, fsetpos, and perror. Cannot really test closeall().
[pdclib] / functions / stdio / fsetpos.c
index 4820f73b3ddf89b0d2014bd3a25cc9fccdabde20..2082b4824a74dddfc4ced451b53879a79c4cb3e4 100644 (file)
@@ -25,6 +25,7 @@ int fsetpos( struct _PDCLIB_file_t * stream, const struct _PDCLIB_fpos_t * pos )
         return EOF;
     }
     stream->pos.status = pos->status;
+    /* TODO: Add mbstate. */
     return 0;
 }
 
@@ -35,7 +36,7 @@ int fsetpos( struct _PDCLIB_file_t * stream, const struct _PDCLIB_fpos_t * pos )
 
 int main( void )
 {
-    TESTCASE( NO_TESTDRIVER );
+    /* fsetpos() tested together with fsetpos(). */
     return TEST_RESULTS;
 }