On Thu, Feb 10, 2011 at 12:54 PM, Lars Wirzenius <[email protected]> wrote: > On to, 2011-02-10 at 11:37 +0000, Jeremy Sanders wrote: >> There's strlcpy, but it's not in glibc because of possible truncation >> errors! > > snprintf is standard, and should be about as safe as it gets with the > glibc functions.
But snprintf is not like strlcpy. Olaf -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
