July 13, 2003
What are the return value for the scanf, sscanf & fscanf functions ? There are no informations about it in the documentations.

Thanks.


July 13, 2003
They return an integer which represent the number of fields successfully read and assigned, read but unassigned fields are not counted. Also they return EOF if an EOS character is found.

Regards,
Remko van der Vossen.

"noobi" <noobi_member@pathlink.com> wrote in message news:beqs45$31er$1@digitaldaemon.com...
> What are the return value for the scanf, sscanf & fscanf functions ? There are no informations about it in the documentations.
>
> Thanks.
>
>