Re: Maybe we should use "snprintf" instead of "sprintf".
michael@surfnetcity.com.au
Tue, 15 Jun 1999 23:36:02 +1000
On Tue, Jun 15, 1999 at 12:31:16PM +0800, Ming-I Hsieh wrote:
>                 sprintf(buf,"%.4fin",value);
>                 ^^^^^^^^^ here, if we use "snprintf" instead of
> "sprintf". I think it will
> more stable! :)
Down near the bottom of the snprintf(3) man page:
CONFORMING TO
       These are GNU extensions.
-- 
-- Michael Samuel <michael@surfnetcity.com.au>
This archive was generated by hypermail 1.03b2.