GRU - Generic Reusable Utilities
Loading...
Searching...
No Matches
Macros | Functions
asprintf.h File Reference
#include <stdarg.h>

Go to the source code of this file.

Macros

#define insane_free(ptr)
 

Functions

int vasprintf (char **strp, const char *fmt, va_list ap)
 
int asprintf (char **strp, const char *fmt,...)
 

Macro Definition Documentation

◆ insane_free

#define insane_free (   ptr)
Value:
{ \
free(ptr); \
(ptr) = 0; \
}

Function Documentation

◆ asprintf()

int asprintf ( char **  strp,
const char *  fmt,
  ... 
)

◆ vasprintf()

int vasprintf ( char **  strp,
const char *  fmt,
va_list  ap 
)