00001 #ifndef _CRYSTAL_SNPRINTF_H_ 00002 #define _CRYSTAL_SNPRINTF_H_ 00003 00004 #include <stdarg.h> 00005 00006 #if defined(__cplusplus) 00007 //extern "C" { 00008 #endif 00009 00010 extern int cs_snprintf(char *, size_t, const char *, /*args*/ ...); 00011 extern int cs_vsnprintf(char *, size_t, const char *, va_list); 00012 00013 #if defined(__cplusplus) 00014 //} 00015 #endif 00016 00017 #endif