Jim Rees <[EMAIL PROTECTED]> writes: > There is already a snprintf.c in src/util. Comments there indicate that > some vendors' versions are broken.
If you want C99 semantics (returning the length of the formatted text rather than -1 if the buffer is too long and supporting a buffer of NULL with a length of 0 to just size the string), *most* vendors' versions are broken. Linux is right, and it's nearly alone. (I think *BSD is also okay.) -- Russ Allbery ([EMAIL PROTECTED]) <http://www.eyrie.org/~eagle/> _______________________________________________ OpenAFS-info mailing list [EMAIL PROTECTED] https://lists.openafs.org/mailman/listinfo/openafs-info
