Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Replacement for MS vsprintf_s on Linux?

Tags:

c++

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

like image 540
Khalid Ismail Avatar asked Feb 18 '16 17:02

Khalid Ismail


1 Answers

Looks like vsnprintf() would be a suitable replacement according to linux.die.net.

like image 107
Dakota Sides Avatar answered Sep 25 '22 12:09

Dakota Sides