25#ifndef JAU_STRING_UTIL_UNSAFE_HPP_
26#define JAU_STRING_UTIL_UNSAFE_HPP_
52 std::string
format_string_n(
const std::size_t maxStrLen,
const char* format, ...)
noexcept;
53 std::string
vformat_string_n(
const std::size_t maxStrLen,
const char* format, va_list args)
noexcept;
68 std::string
format_string_h(
const std::size_t strLenHint,
const char* format, ...)
noexcept;
69 std::string
vformat_string_h(
const std::size_t strLenHint,
const char* format, va_list args)
noexcept;
85 void errPrint(FILE *out,
const char *msg,
bool addErrno,
bool addBacktrace,
const char *
func,
const char *file,
const int line,
86 const char* format, ...)
noexcept;
std::string format_string_h(const std::size_t strLenHint, const char *format,...) noexcept
Returns a (non-truncated) string according to snprintf() formatting rules and variable number of argu...
std::string vformat_string_h(const std::size_t strLenHint, const char *format, va_list args) noexcept
void errPrint(FILE *out, const char *msg, bool addErrno, bool addBacktrace, const char *func, const char *file, const int line, const char *format,...) noexcept
std::string format_string_n(const std::size_t maxStrLen, const char *format,...) noexcept
Returns a (potentially truncated) string according to snprintf() formatting rules and variable number...
std::string vformat_string_n(const std::size_t maxStrLen, const char *format, va_list args) noexcept
std::string format_string(const char *format,...) noexcept
Returns a (non-truncated) string according to snprintf() formatting rules and variable number of argu...