Humidistat
Arduino firmware for a humidistat (humidity controller)
Loading...
Searching...
No Matches
asprintf.h File Reference
#include <stdlib.h>
#include <stdio.h>
Include dependency graph for asprintf.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename... T>
char * asprintf (const char *fmt, T... args)
 Print formatted data to string. Automatically allocates string on the heap. Make sure to delete it immediately afterwards.
 

Function Documentation

◆ asprintf()

template<typename... T>
char * asprintf ( const char * fmt,
T... args )

Print formatted data to string. Automatically allocates string on the heap. Make sure to delete it immediately afterwards.

Parameters
fmtFormat string
argsArguments specifying data to print
Returns
Pointer to char string

Definition at line 13 of file asprintf.h.

Here is the caller graph for this function: