Displaying 4 results from an estimated 4 matches for "trio_vsnprintf".
Did you mean:
_io_vsnprintf
2015 Jan 08
1
New version of Rtools for Windows
...red
(it seems mistakenly from the other thread) that if those functions
are included from stdio already, I can just delete them from compat.c.
The specific lines are:
int snprintf(char *buffer, size_t max, const char *format, ...)
{
int res;
va_list(ap);
va_start(ap, format);
res = trio_vsnprintf(buffer, max, format, ap);
va_end(ap);
return res;
}
int vsnprintf(char *buffer, size_t bufferSize, const char *format, va_list args)
{
return trio_vsnprintf(buffer, bufferSize, format, args);
}
Continuing the build using 4.9.2 crashed again at the following point:
gcc -std=gnu99 -m64...
2015 Jan 08
0
New version of Rtools for Windows
...included from stdio already, I can just delete them from compat.c.
>> The specific lines are:
>>
>> int snprintf(char *buffer, size_t max, const char *format, ...)
>> {
>> int res;
>> va_list(ap);
>> va_start(ap, format);
>> res = trio_vsnprintf(buffer, max, format, ap);
>> va_end(ap);
>> return res;
>> }
>>
>> int vsnprintf(char *buffer, size_t bufferSize, const char *format, va_list args)
>> {
>> return trio_vsnprintf(buffer, bufferSize, format, args);
>> }
>>
>>...
2015 Jan 08
1
New version of Rtools for Windows
...can just delete them from compat.c.
>>> The specific lines are:
>>>
>>> int snprintf(char *buffer, size_t max, const char *format, ...)
>>> {
>>>? ? ? int res;
>>>? ? ? va_list(ap);
>>>? ? ? va_start(ap, format);
>>>? ? ? res = trio_vsnprintf(buffer, max, format, ap);
>>>? ? ? va_end(ap);
>>>? ? ? return res;
>>> }
>>>
>>> int vsnprintf(char *buffer, size_t bufferSize, const char *format, va_list args)
>>> {
>>>? ? ? return trio_vsnprintf(buffer, bufferSize, format, args);
&...
2015 Jan 08
0
New version of Rtools for Windows
...can just delete them from compat.c.
>>> The specific lines are:
>>>
>>> int snprintf(char *buffer, size_t max, const char *format, ...)
>>> {
>>> int res;
>>> va_list(ap);
>>> va_start(ap, format);
>>> res = trio_vsnprintf(buffer, max, format, ap);
>>> va_end(ap);
>>> return res;
>>> }
>>>
>>> int vsnprintf(char *buffer, size_t bufferSize, const char *format, va_list args)
>>> {
>>> return trio_vsnprintf(buffer, bufferSize, format, args);
&...