Sound Byte Libs 1ee2ca6
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
Loading...
Searching...
No Matches
Namespaces | Functions
format.hpp File Reference

Minimal safe string formatting for embedded systems. More...

#include <cstdint>
#include <cstddef>
#include <cstdarg>
Include dependency graph for format.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  sbl
 Root namespace for all Sound Byte Libs functionality.
 
namespace  sbl::log
 

Functions

int sbl::log::vformat (char *buf, size_t size, const char *fmt, va_list args)
 Format a string into a buffer (vsnprintf-style)
 
int sbl::log::format (char *buf, size_t size, const char *fmt,...)
 Format a string into a buffer (snprintf-style)
 

Detailed Description

Minimal safe string formatting for embedded systems.

Provides basic printf-style formatting optimized for embedded use:

No dynamic allocation. Fixed buffer output.

Definition in file format.hpp.