Skip to content
Advertisement

Replacement for MS vsprintf_s on Linux?

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.

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement