X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstdio%2Fftell.c;h=f4efecdf7973ce1ae10d69b99f841f85566af115;hp=d531292d0147c647be160a4a425f0bb370064400;hb=0a5395faab237ba9008352b0f4bee9659bbd3d5f;hpb=34893ecc2200dc7017c36a54cb6c5f4c2378b5ec diff --git a/functions/stdio/ftell.c b/functions/stdio/ftell.c index d531292..f4efecd 100644 --- a/functions/stdio/ftell.c +++ b/functions/stdio/ftell.c @@ -6,3 +6,9 @@ // ---------------------------------------------------------------------------- long ftell( FILE * stream ) { /* TODO */ }; + +/* PDPC code - unreviewed +{ + return (stream->bufStartR + (stream->upto - stream->fbuf)); +} +*/