File: asprintf.h

package info (click to toggle)
python-scrypt 0.8.20-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 560 kB
  • sloc: ansic: 3,619; python: 499; sh: 120; makefile: 5
file content (16 lines) | stat: -rw-r--r-- 325 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _ASPRINTF_H_
#define _ASPRINTF_H_

/* Avoid namespace collisions with BSD/GNU asprintf. */
#ifdef asprintf
#undef asprintf
#endif
#define asprintf libcperciva_asprintf

/**
 * asprintf(ret, format, ...):
 * Do asprintf(3) like GNU and BSD do.
 */
int asprintf(char **, const char *, ...);

#endif /* !_ASPRINTF_H_ */