NO

Author Topic: Add strlcpy and strlcat  (Read 2288 times)

Romashka

  • Guest
Add strlcpy and strlcat
« 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 and here for differences between strlcpy/strlcat and strncpy/strncat.

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2084
    • http://www.smorgasbordet.com
Add strlcpy and strlcat
« Reply #1 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...)
/Pelle