I have a C program that uses sprintf_s. It works fine in Windows, but when I compile my code in Linux it gives this error:
sprintf_s
sprintf_s was not dec
It's not standard, you won't find such function on Linux.
Standard function snprintf should have a similar semantics.
snprintf