Pelles C forum

Pelles C => Feature requests => Topic started by: Romashka on August 28, 2006, 10:08:39 AM

Title: Add strlcpy and strlcat
Post by: Romashka on August 28, 2006, 10:08:39 AM
Please add strlcpy and strlcat functions.

For those who doesn't know about strlcpy/strlcat - see here (http://copland.udel.edu/~pconrad/UnixAtUD/strcpy.html) and here (http://lkml.org/lkml/2003/7/11/324) for differences between strlcpy/strlcat and strncpy/strncat.
Title: Add strlcpy and strlcat
Post by: Pelle on August 29, 2006, 02:08:53 PM
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...)