| ## Public API Reference

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# csutil/snprintf.h

Go to the documentation of this file.

    00001 #ifndef __CS_SNPRINTF_H__
    00002 #define __CS_SNPRINTF_H__
    00003
    00004 #include <stdarg.h>
    00005 #include "csextern.h"
    00006
    00018 extern CS_CRYSTALSPACE_EXPORT int cs_snprintf (char* buf, size_t bufSize,
    00019                                          const char* format, /*args*/ ...)
    00020     CS_GNUC_PRINTF (3, 4);
    00025 extern CS_CRYSTALSPACE_EXPORT int cs_vsnprintf (char *, size_t, const char *,
    00026         va_list)
    00027     CS_GNUC_PRINTF (3, 0);
    00034 extern CS_CRYSTALSPACE_EXPORT int cs_asprintf (char **, const char *, ...)
    00035     CS_GNUC_PRINTF (2, 3);
    00041 extern CS_CRYSTALSPACE_EXPORT int cs_vasprintf (char **, const char *, va_list)
    00042     CS_GNUC_PRINTF (2, 0);
    00043
    00046 #endif // __CS_SNPRINTF_H__