X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Fftell.c;h=9518033f384901c3835778becbebbc185c51ad59;hb=refs%2Ftags%2FOLD;hp=d531292d0147c647be160a4a425f0bb370064400;hpb=34893ecc2200dc7017c36a54cb6c5f4c2378b5ec;p=pdclib diff --git a/functions/stdio/ftell.c b/functions/stdio/ftell.c index d531292..9518033 100644 --- a/functions/stdio/ftell.c +++ b/functions/stdio/ftell.c @@ -1,8 +1,14 @@ -// ---------------------------------------------------------------------------- -// $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. + * --------------------------------------------------------------------------*/ long ftell( FILE * stream ) { /* TODO */ }; + +/* PDPC code - unreviewed +{ + return (stream->bufStartR + (stream->upto - stream->fbuf)); +} +*/