[openbeosnetteam] snprintf

Metrowerks stdlib, for reasons I can't even begin to fathom, doesn't 
have snprintf(). Therefore, I have been doing things like this when I 
run across one:
#ifdef _MWERKS_STDIO_H
        sprintf(buf,"%s.%s",a,b);
#else
        snprintf(buf,255,"%s.%s",a,b);
#endif

Is this all right?
-Nathan

--
Fortune Cookie Says:

There are four kinds of homicide: felonious, excusable, justifiable,
and praiseworthy ...
                -- Ambrose Bierce, "The Devil's Dictionary"


Other related posts: