fmt
Loading...
Searching...
No Matches
fmt-c.cpp File Reference

Implementation of the C API. More...

#include "fmt/fmt-c.h"
import fmt;
import std;

Functions

auto fmt_vformat (char *buffer, size_t size, const char *fmt, const fmt_arg *args, size_t num_args) -> int
auto fmt_vprint (FILE *stream, const char *fmt, const fmt_arg *args, size_t num_args) -> int

Detailed Description

Implementation of the C API.

An ordinary translation unit, not a module unit: it consumes fmt through import fmt; exactly as any other user would. The header is included first, because including a header after an import can attach its declarations to the imported module.