search for: _snprintf_s

Displaying 9 results from an estimated 9 matches for "_snprintf_s".

Did you mean: vsnprintf_s
2013 Mar 14
4
snprintf and MS Visual Studio
Hi all, There are a bunch of sprintf calls in the FLAC code base and I'd like to replace them with calls to snprintf but I know that can cause problems with at least some versions of Visual Studio. Whats the current state of play in this regard? Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/
2013 Mar 15
2
snprintf and MS Visual Studio
Christoph Terasa wrote: > Since MS refuses to support C99, the common practice is to use either > > sprintf_s: > http://msdn.microsoft.com/en-us/library/ce3zzk1k(v=VS.80).aspx > _snprintf_s: > http://msdn.microsoft.com/de-de/library/f30dzcf6(v=VS.80).aspx > > The former can be used as a drop-in replacement of snprintf via a > define, the latter takes an additional argument count which can limit > the bytes written to the buffer additionally. Hmm, the first can be u...
2013 Mar 14
0
snprintf and MS Visual Studio
...t can cause > problems with at least some versions of Visual Studio. > > Whats the current state of play in this regard? > > Erik Since MS refuses to support C99, the common practice is to use either sprintf_s: http://msdn.microsoft.com/en-us/library/ce3zzk1k(v=VS.80).aspx _snprintf_s: http://msdn.microsoft.com/de-de/library/f30dzcf6(v=VS.80).aspx The former can be used as a drop-in replacement of snprintf via a define, the latter takes an additional argument count which can limit the bytes written to the buffer additionally. DO NOT use _snprintf: http://msdn.microsoft...
2013 Mar 15
0
snprintf and MS Visual Studio
...09 PM, Erik de Castro Lopo <mle+la at mega-nerd.com> wrote: > Christoph Terasa wrote: > >> Since MS refuses to support C99, the common practice is to use either >> >> sprintf_s: >> http://msdn.microsoft.com/en-us/library/ce3zzk1k(v=VS.80).aspx >> _snprintf_s: >> http://msdn.microsoft.com/de-de/library/f30dzcf6(v=VS.80).aspx >> >> The former can be used as a drop-in replacement of snprintf via a >> define, the latter takes an additional argument count which can limit >> the bytes written to the buffer additionally. >...
2010 Jun 11
0
Wine release 1.2-rc3
...xel rendering is enabled 23021 Spider black suits fail to display 23029 closing window of IE 6 closes Lotus Notes 6.5.5 23044 Program 'convert.exe' shows menus in a strange way 23049 Shareaza crash while starting 23056 BitComet 1.21: Fails to start 23107 Unimplemented call _snprintf_s in CSPro 4.0 ---------------------------------------------------------------- Changes since 1.2-rc2: Akihiro Sagawa (7): taskmgr: Update Japanese translation. oledlg: Update Japanese translation. wordpad: Update Japanese translation. wineboot: Update Japanese translation....
2019 Jul 05
0
Wine release 4.12
...n_first_exception handling out of dbg_attach_debuggee. winedbg: Set auto attach event after processing the first exception. msxml3: Fix string length handling in I[VB]SAXContentHandler::characters. ntdll: Move null terminating result to pf_vsnprintf callers. ntdll: Implement _snprintf_s and _vsnprintf_s. kernel32/tests: Add more debugger tests. server: Fix debug event order in generate_startup_debug_events. kernel32: Terminate process in unhandled exception handler. ntdll: Implement DbgUiIssueRemoteBreakin. kernel32: Reimplement DebugBreakProcess on t...
2007 Mar 06
1
Errors compiling flac in Visual Studio Express 2005
...g\replaygain.c(104) : warning C4996: '_snprintf' was declared deprecated 5> c:\program files\microsoft visual studio 8\vc\include\stdio.h(339) : see declaration of '_snprintf' 7>utf8.c 5> Message: 'This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.' 5>c:\greenhouse\workspace\soundio\tool\flac_1.1.3\main\flac-1.1.3\src\share\grabbag\replaygain.c(612) : warning C4996: 'strncpy' was declared deprecated 5> c:\program files\micros...
2020 Feb 28
0
Wine release 5.3
...stdio.h: Add ucrt _vsprintf_p_l declaration. stdio.h: Add ucrt vfprintf declaration. stdio.h: Add ucrt vfprintf_s declaration. include: Add corecrt_wtime.h file. include: Include sys/stat.h from wchar.h. stdio.h: Add ucrt _scprintf declaration. stdio.h: Add ucrt _snprintf_s declaration. stdio.h: Add ucrt fprintf and fprintf_s declarations. stdio.h: Add ucrt printf and vprintf declarations. stdio.h: Add ucrt printf_s and vprintf_s declarations. stdio.h: Add ucrt sprintf_s declaration. stdio.h: Add ucrt fscanf and fscanf_s declarations....
2017 Jun 21
6
RFC: Cleaning up the Itanium demangler
...i_config.h" #include <vector> #include <algorithm> #include <string> #include <numeric> #include <cstdlib> #include <cstring> #include <cctype> #ifdef _MSC_VER // snprintf is implemented in VS 2015 #if _MSC_VER < 1900 #define snprintf _snprintf_s #endif #endif namespace __cxxabiv1 { namespace { enum { unknown_error = -4, invalid_args = -3, invalid_mangled_name, memory_alloc_failure, success }; +class string_ref +{ + const char *first, *last; +public: + template <size_t N> string_ref(cons...