PIPS
|
#include <config.h>
#include <stdio.h>
#include <errno.h>
#include <limits.h>
#include <stdlib.h>
#include "vasnprintf.h"
Go to the source code of this file.
Functions | |
int | vasprintf (char **resultp, const char *format, va_list args) |
Formatted output to strings. More... | |
int vasprintf | ( | char ** | resultp, |
const char * | format, | ||
va_list | args | ||
) |
Formatted output to strings.
Copyright (C) 1999, 2002, 2006-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.
Return the number of resulting bytes, excluding the trailing NUL.
Definition at line 33 of file vasprintf.c.
References EOVERFLOW, free(), and vasnprintf().
Referenced by add_one_unformated_printf_to_text(), asprintf(), pips_log_alist(), pips_stop_alist(), pyps_error_handler(), pyps_log_handler(), safe_vasprintf(), and string_buffer_printf_alist().