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