On Mon, 24 Jul 2000, Ury Segal wrote:
> char * sprintf( s, format, va_list);
>
>
> Here is the Linux sprintf, you can see it retuns int, the
> number of char actually printed:
>
> http://www.linux.com/development/man/3/sprintf/
>
> int sprintf(char *str, const char *format, ...);
>
>
> Well, sorry for the confusion.
>
> C doesn't even have a standard, on a function many of us
> used many times ( you know it is a security hazard, yes ?)
Not if you're careful.
And note, for example, that many portable programs come with their own
sprintf-like functionality.
> How can you come and tell me that C is a standard language.
Because if one follows the standard, one has less chance to get bitten.
(Simple, wasn't it?)
Yes, C is sorely lacking. You won't find a single soul here that will
tell you it is not. So? Python is not perfect, Scheme is not perfect,
Smalltalk is not perfect, C++ is downright horrible. Live with it.
--
Moshe Zadka <[EMAIL PROTECTED]>
There is no IGLU cabal.
http://advogato.org/person/moshez
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]