1 /* concatn.h: concatenate a variable number of strings. 2 This is a separate include file only because I don't see the point of 3 having every source file include <stdarg.h>. The declarations for 4 the other concat routines are in lib.h. 5 6 Copyright 1993, 1996, 2008 Karl Berry. 7 Copyright 1999, 2005 Olaf Weber. 8 9 This library is free software; you can redistribute it and/or 10 modify it under the terms of the GNU Lesser General Public 11 License as published by the Free Software Foundation; either 12 version 2.1 of the License, or (at your option) any later version. 13 14 This library is distributed in the hope that it will be useful, 15 but WITHOUT ANY WARRANTY; without even the implied warranty of 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 Lesser General Public License for more details. 18 19 You should have received a copy of the GNU Lesser General Public License 20 along with this library; if not, see <http://www.gnu.org/licenses/>. */ 21 22 #ifndef KPATHSEA_CONCATN_H 23 #define KPATHSEA_CONCATN_H 24 25 #include <kpathsea/c-proto.h> 26 #include <stdarg.h> 27 #include <kpathsea/types.h> 28 29 #ifdef __cplusplus 30 extern "C" { 31 #endif 32 33 /* Concatenate a null-terminated list of strings and return the result 34 in malloc-allocated memory. */ 35 extern KPSEDLL string concatn(const_string str1, ...); 36 37 #ifdef __cplusplus 38 } 39 #endif 40 41 #endif /* not KPATHSEA_CONCATN_H */ 42