The C11 standard Annex K defines a bunch of new safer string functions, all suffixed by _s (e.g. strcpy_s).
Do you know when these new functions will become available in the GNU C library glibc?
So far you have to fall back to a third party library like safec.