Add strlcpy and strlcat

Started by Romashka, August 28, 2006, 10:08:39 AM

Previous topic - Next topic

Romashka

Please add strlcpy and strlcat functions.

For those who doesn't know about strlcpy/strlcat - see here and here for differences between strlcpy/strlcat and strncpy/strncat.

Pelle

No - since they are not part of any useful standard.

If you want more secure string functions, a much better idea is to wait for the Standard C guys to process the "Specification for safer more secure C library functions" into something that is not a 'draft'...

(...you can also use functions from Microsoft's strsafe.lib...)
/Pelle