X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Ffgetpos.c;h=c97cf0182365e02f0a67ada5f620499484f5f4cd;hb=e5456e3c2697c4e17fc9aa3439f2e305517b4d96;hp=b26979bd6e43a38483ca76625e9e1a11e4e18faf;hpb=dcc8a8e99f69e090a03b7b868443addbc0817820;p=pdclib.old diff --git a/functions/stdio/fgetpos.c b/functions/stdio/fgetpos.c index b26979b..c97cf01 100644 --- a/functions/stdio/fgetpos.c +++ b/functions/stdio/fgetpos.c @@ -6,3 +6,10 @@ // ---------------------------------------------------------------------------- int fgetpos( FILE * restrict stream, fpos_t * restrict pos ) { /* TODO */ }; + +/* PDPC code - unreviewed +{ + *pos = ftell(stream); + return (0); +} +*/