> But, how can I change an fgetc() function?

For instance,

Int8 fgetc (FileHand stream)
{
    Int8 c;
    Err err;

    FileRead (stream, &c, sizeof (c), 1, &err);
    return (err == errNone) ? c : fileErrEOF;
}

Regards,
Vesselin
-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to