This is a discussion on Re: distrust snprintf returnvalue within the lucky.openbsd.tech forums, part of the OpenBSD category; --> snprintf returns the number of bytes it WANTED to print (or -1 for bizarre failures that can't happen on ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| snprintf returns the number of bytes it WANTED to print (or -1 for bizarre failures that can't happen on openbsd). strlen() will never return -1. -- we need something to kill the pain of all that nothing inside we all just want to die a little bit |