mirror of
https://github.com/SysRay/psOff_public.git
synced 2024-11-23 06:19:41 +00:00
Implement snprintf_s
This commit is contained in:
parent
84c77ed5f0
commit
4545519f12
@ -52,6 +52,10 @@ EXPORT SYSV_ABI int __NID(snprintf)(char* s, size_t n, const char* format, va_li
|
||||
return std::snprintf(s, n, format, args);
|
||||
}
|
||||
|
||||
EXPORT SYSV_ABI int __NID(snprintf_s)(char* s, size_t bufsz, size_t n, const char* format, va_list args) {
|
||||
return ::_snprintf_s(s, bufsz, n, format, args);
|
||||
}
|
||||
|
||||
EXPORT SYSV_ABI int __NID(fflush)(FILE* stream) {
|
||||
return std::fflush(stream);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user