What library is strcat_s in?

I tried to include string.h

and stdlib.h

, but I still get <.90> errors.

This leads me to conclude that this is in a different library that I have not included. Where is it?

I am using the gcc compiler - the code is written on windows but about to compile and run on a unix server.

+3


source to share


4 answers


There is an implementation in slibc .



+4


source


strcat_s

can be found in string.h

as of C 2011. Generally speaking, only microsoft has implemented these alternative features.



+8


source


It is present string.h

on Windows platforms

You can also refer to this cppreference

Defined in title <string.h>

You might be better off using strcat if you are on a UNIX platform.

+4


source


+2


source







All Articles