File: asprintf.h

package info (click to toggle)
ncap 1.9.2-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,684 kB
  • sloc: sh: 10,135; ansic: 5,829; perl: 68; makefile: 42; python: 33
file content (14 lines) | stat: -rw-r--r-- 339 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef NCAP_ASPRINTF_H

/*! \file nmsg/asprintf.h
 * \brief Asprintf utility functions.
 *
 * Portable replacements for the asprintf(3) and vasprintf(3) functions.
 */

#include <stdarg.h>

int ncap_asprintf(char **strp, const char *fmt, ...);
int ncap_vasprintf(char **strp, const char *fmt, va_list args);

#endif /* NCAP_ASPRINTF_H */