X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstdio%2Ffgetpos.c;h=df80ccc07497129efb256fd0ea10a1b3e612fc04;hp=b26979bd6e43a38483ca76625e9e1a11e4e18faf;hb=1d9d92ba957a0b8307c9a65c35867fde68e6533b;hpb=34893ecc2200dc7017c36a54cb6c5f4c2378b5ec diff --git a/functions/stdio/fgetpos.c b/functions/stdio/fgetpos.c index b26979b..df80ccc 100644 --- a/functions/stdio/fgetpos.c +++ b/functions/stdio/fgetpos.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 fgetpos( FILE * restrict stream, fpos_t * restrict pos ) { /* TODO */ }; + +/* PDPC code - unreviewed +{ + *pos = ftell(stream); + return (0); +} +*/