1*38fd1498Szrj /* Estimate the length of the string generated by a vprintf-like 2*38fd1498Szrj function. Use by vasprintf and xvasprintf. 3*38fd1498Szrj Copyright (C) 1994-2018 Free Software Foundation, Inc. 4*38fd1498Szrj 5*38fd1498Szrj This file is part of the libiberty library. 6*38fd1498Szrj Libiberty is free software; you can redistribute it and/or 7*38fd1498Szrj modify it under the terms of the GNU Library General Public 8*38fd1498Szrj License as published by the Free Software Foundation; either 9*38fd1498Szrj version 2 of the License, or (at your option) any later version. 10*38fd1498Szrj 11*38fd1498Szrj Libiberty is distributed in the hope that it will be useful, 12*38fd1498Szrj but WITHOUT ANY WARRANTY; without even the implied warranty of 13*38fd1498Szrj MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14*38fd1498Szrj Library General Public License for more details. 15*38fd1498Szrj 16*38fd1498Szrj You should have received a copy of the GNU Library General Public 17*38fd1498Szrj License along with libiberty; see the file COPYING.LIB. If not, write 18*38fd1498Szrj to the Free Software Foundation, Inc., 51 Franklin Street - Fifth 19*38fd1498Szrj Floor, Boston, MA 02110-1301, USA. */ 20*38fd1498Szrj 21*38fd1498Szrj 22*38fd1498Szrj extern int libiberty_vprintf_buffer_size (const char *, va_list); 23