I’m converting C++ code from Windows to work under Linux and I came across this function “vsprintf_s”. It is a Microsoft specific function so I would like to ask if there is a replacement in Linux? Thanks
Advertisement
Answer
Looks like vsnprintf() would be a suitable replacement according to linux.die.net.