Utility functions

Overview

Non-vital functions More…

// global functions

fmt_status fmt_spec_print(fmt_spec* spec, FILE* file);
const char* fmt_spec_len2str(fmt_spec_len len);
const char* fmt_spec_type2str(fmt_spec_type type);

Detailed Documentation

Non-vital functions

Global Functions

fmt_status fmt_spec_print(fmt_spec* spec, FILE* file)

Print format specifier

Parameters:

spec

The specifier

file

File pointer

Returns:

Status code

const char* fmt_spec_len2str(fmt_spec_len len)

Convert length to string

Parameters:

len

The length specifier

Returns:

String representation of length

const char* fmt_spec_type2str(fmt_spec_type type)

Convert type to string

Parameters:

type

The type specifier

Returns:

String representation of length