A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/littlstar/asprintf.c below:

GitHub - jwerle/asprintf.c: asprintf() implementation

asprintf.c

asprintf() implementation

Install
$ clib install littlstar/asprintf.c
Usage
#include <asprintf.h>

or

#include <asprintf/asprintf.h>
Example
char *str = NULL;
char *fmt = "this is a %s";
int size = asprintf(&str, fmt, "string");

printf("%s\n", str); // this is a string
printf("%d\n", size); // 16
License

MIT


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4