On 2015-04-20, ricou12 <ricou12@no-mx.forums.microfocus.com> wrote:
> My wish is to use strcpy_s function (and others) into a C program with
> Ubuntu 14.10.
Three points:
This is an openSUSE forum, not an Ubuntu forum. You should ask there rather than here.
IIRC strcpy_s is a Microsoft invention for C++ only. Why talk about Ubuntu and C?
GCC has no strcpy_s, but I believe Sourceforge’s Safe C has an implementation.
Just wondered if strcpy_s is included in -std=gnu11 since IIRC it might be in an Appendix of the C11 spec, but perhaps
it’s not mandatory. I think slibc also includes C11-style bounds-checking functions with `_s’ suffices.
Just wondered if strcpy_s is included in -std=gnu11 since IIRC it might be in an Appendix of the C11 spec, but perhaps
it’s not mandatory.
I think slibc also includes C11-style bounds-checking functions with `_s’ suffices, but we can’t help you installing it
because you don’t use openSUSE. You’ll find openSUSE uses RPM packages whereas Ubuntu uses DEB packages - they are not
inter-compatible. If you can’t find a Ubuntu package, then you’ll have to install from source. For help how to do that,
you need to ask Ubuntu users.