X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Fftell.c;fp=functions%2Fstdio%2Fftell.c;h=f4efecdf7973ce1ae10d69b99f841f85566af115;hb=e5456e3c2697c4e17fc9aa3439f2e305517b4d96;hp=d531292d0147c647be160a4a425f0bb370064400;hpb=dcc8a8e99f69e090a03b7b868443addbc0817820;p=pdclib.old 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)); +} +*/