X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstdio%2Ffsetpos.c;h=044c9744d83c54700a8ffb1a1c8a8a0ba2308caf;hp=ae100394be6974721496eae8ab3cc649f9a9fd1c;hb=1d9d92ba957a0b8307c9a65c35867fde68e6533b;hpb=34893ecc2200dc7017c36a54cb6c5f4c2378b5ec diff --git a/functions/stdio/fsetpos.c b/functions/stdio/fsetpos.c index ae10039..044c974 100644 --- a/functions/stdio/fsetpos.c +++ b/functions/stdio/fsetpos.c @@ -1,8 +1,15 @@ -// ---------------------------------------------------------------------------- -// $Id$ -// ---------------------------------------------------------------------------- -// Public Domain C Library - http://pdclib.sourceforge.net -// This code is Public Domain. Use, modify, and redistribute at will. -// ---------------------------------------------------------------------------- +/* ---------------------------------------------------------------------------- + * $Id$ + * ---------------------------------------------------------------------------- + * Public Domain C Library - http://pdclib.sourceforge.net + * This code is Public Domain. Use, modify, and redistribute at will. + * --------------------------------------------------------------------------*/ int fsetpos( FILE * stream, const fpos_t * pos ) { /* TODO */ }; + +/* PDPC code - unreviewed +{ + fseek(stream, *pos, SEEK_SET); + return (0); +} +*/