Pete Forman <pete.forman@westerngeco.com> writes:
> Philip Warner writes:
>> All I need to know is how to detect an error. Does it return EOF on
>> error?
> The standard sprintf() returns a negative int on error.
I thought we were talking about fprintf. sprintf can't really detect
any errors anyway, except maybe a bad format string.
regards, tom lane