Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

safe sprintf snprintf(3) considered harmful

Name: Anonymous 2008-09-30 14:21

You should use int _snprintf_s(char *buffer, size_t sizeOfBuffer, size_t count, const char *format,... ); instead.

Name: Anonymous 2008-09-30 20:56

>>13
That's what I'd do if I was using my own library as well, except that it wouldn't have every component depend on every other.

Oh, and it'd be written in blazing fast C.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List