/* $Id: snprintf.h,v 1.5 2006/06/12 09:54:44 rpalsa Exp $ * * This file is part of the ESO C Extension Library * Copyright (C) 2001-2006 European Southern Observatory * * 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 2 of the License, 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, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef CX_SNPRINTF_H #define CX_SNPRINTF_H #include /* Just for defining the CX_BEGIN_DECLS and CX_END_DECLS symbols. */ #include CX_BEGIN_DECLS int _p_snprintf(char *str, size_t size, const char *fmt, ...); int _p_vsnprintf(char *str, size_t size, const char *fmt, va_list args); CX_END_DECLS #endif /* CX_SNPRINTF_H */