fscanf & EOF

Jeff Newberry newberry at nmsu.edu
Wed Feb 13 03:29:22 AEST 1991



>>
>>How are the arguments defined?  If they are all defined as arrays of
>>characters, then I don't know why it core dumps.  If "delimiter" is
>>defined as a charater, then you need "&delimiter".

>If your delimiter is a character, it shouldn't be.  &delimiter will
>work only if you are lucky enough to have (&delimiter)+1 empty, or
>empty-able because it will get the '\0' terminating your 1 character
>string.

Pleas forgive me for my incorrect information.  Brian Fennell is
absolutely correct.  Thank you for correcting me.

Jeff Newberry



More information about the Comp.lang.c mailing list