An open API service indexing awesome lists of open source software.

https://github.com/jwerle/asprintf.c

asprintf() implementation
https://github.com/jwerle/asprintf.c

Last synced: 6 months ago
JSON representation

asprintf() implementation

Awesome Lists containing this project

README

          

asprintf.c
==========

asprintf() implementation

## Install

```sh
$ clib install littlstar/asprintf.c
```

## Usage

```c
#include
```

or

```c
#include
```

## Example

```c

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