PIPS
asnprintf.c File Reference
#include <config.h>
#include "vasnprintf.h"
#include <stdarg.h>
+ Include dependency graph for asnprintf.c:

Go to the source code of this file.

Functions

char * asnprintf (char *resultbuf, size_t *lengthp, const char *format,...)
 Formatted output to strings. More...
 

Function Documentation

◆ asnprintf()

char* asnprintf ( char *  resultbuf,
size_t lengthp,
const char *  format,
  ... 
)

Formatted output to strings.

Copyright (C) 1999, 2002, 2006, 2009-2014 Free Software Foundation, Inc.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/licenses/.
Specification.

Definition at line 25 of file asnprintf.c.

26 {
27  va_list args;
28  char *result;
29 
30  va_start (args, format);
31  result = vasnprintf (resultbuf, lengthp, format, args);
32  va_end (args);
33  return result;
34 }
char char * vasnprintf(char *resultbuf, size_t *lengthp, const char *format, va_list args) _GL_ATTRIBUTE_FORMAT((__printf__

References vasnprintf().

+ Here is the call graph for this function: