I don't supposed someone happens to have the slprintf code available to them? I'm not sure of licenses and stuff, but I'm fairly sure that the freebsd developers didn't restrict it. If someone does have it, that would be great, thanks.
Slprintf
Posted by Greven on Sun 25 Jul 2004 07:26 AM — 3 posts, 16,226 views.
I don't know the slprintf function. Is that a typo? In any case a Google search should reveal variations on printf. Here is one I found:
http://www.sqlite.org/cvstrac/getfile/sqlite/src/printf.c?v=1.19
http://www.sqlite.org/cvstrac/getfile/sqlite/src/printf.c?v=1.19
Slprintf is to snprintf as strlcpy is to strncpy, it always null termintes the string properly, and does not 0 fill the rest of the string, as I understand it.