X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=functions%2Fstdio%2Ffseek.c;fp=functions%2Fstdio%2Ffseek.c;h=f33f250938a0e1cdaaa7fddbe6f971b2e8d52b3a;hb=09790f0e311b3418b0eb2e05a43ce738abbc1c14;hp=0000000000000000000000000000000000000000;hpb=7e5fa5957ef2d996f7c5cca646689927a4100222;p=fw%2Fpdclib diff --git a/functions/stdio/fseek.c b/functions/stdio/fseek.c new file mode 100644 index 0000000..f33f250 --- /dev/null +++ b/functions/stdio/fseek.c @@ -0,0 +1,30 @@ +/* $Id$ */ + +/* fseek( FILE *, long int, int ) + + This file is part of the Public Domain C Library (PDCLib). + Permission is granted to use, modify, and / or redistribute at will. +*/ + +#include + +#ifndef REGTEST + +int fseek( struct _PDCLIB_file_t * stream, long int offset, int whence ) +{ + /* TODO: Implement. */ + return 0; +} + +#endif + +#ifdef TEST +#include <_PDCLIB_test.h> + +int main( void ) +{ + TESTCASE( NO_TESTDRIVER ); + return TEST_RESULTS; +} + +#endif