⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 snprintf.h

📁 distcc编译器的源代码.好像是readhat公司开发的.
💻 H
字号:
#include <stdarg.h>#ifdef __GNUC__/** Use gcc attribute to check printf fns.  a1 is the 1-based index of * the parameter containing the format, and a2 the index of the first * argument.  **/#define PRINTF_ATTRIBUTE(a1, a2) __attribute__ ((format (__printf__, a1, a2)))#else#define PRINTF_ATTRIBUTE(a1, a2)#endif/* Note that the HAVE_DECL macros are defined to 0 if the declaration * is not present, rather than being undefined as is the case for most * autoconf tests. */#if !HAVE_DECL_VASPRINTFint vasprintf(char **ptr, const char *format, va_list ap);#endif#if !HAVE_DECL_SNPRINTFint snprintf(char *,size_t ,const char *, ...) PRINTF_ATTRIBUTE(3,4);#endif#if !HAVE_DECL_ASPRINTFint asprintf(char **,const char *, ...) PRINTF_ATTRIBUTE(2,3);#endif#if !HAVE_DECL_VSNPRINTFint vsnprintf(char *, size_t, const char *, va_list);#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -