> This has been a long standing problem for a long time. Does there
> exist a function call which can count the number of characters that a
> sprintf *will* generate without actually doing the sprintf.
I haven't seen a function like that, but there is "snprintf" which is what
should be used in place of sprintf to prevent buffer overflows.
-- John W. Temples, III || Providing the first public access Internet Gulfnet Kuwait || site in the Arabian Gulf region