Commit 3174e395 authored by marko's avatar marko

branches/zip: ut_snprintf(): Fix the function comments.

parent cea9a03a
......@@ -306,12 +306,14 @@ ut_copy_file(
FILE* src); /* in: input file to be appended to output */
#endif /* !UNIV_HOTBACKUP */
/**************************************************************************
snprintf(). */
#ifdef __WIN__
/**************************************************************************
A substitute for snprintf(3), formatted output conversion into
a limited buffer. */
UNIV_INTERN
int
ut_snprintf(
/*========*/
/* out: number of characters that would
have been printed if the size were
unlimited, not including the terminating
......@@ -321,7 +323,7 @@ ut_snprintf(
const char* fmt, /* in: format */
...); /* in: format values */
#else
#define ut_snprintf snprintf
# define ut_snprintf snprintf
#endif /* __WIN__ */
#ifndef UNIV_NONINL
......
......@@ -552,13 +552,15 @@ ut_copy_file(
}
#endif /* !UNIV_HOTBACKUP */
/**************************************************************************
snprintf(). */
#ifdef __WIN__
#include <stdarg.h>
# include <stdarg.h>
/**************************************************************************
A substitute for snprintf(3), formatted output conversion into
a limited buffer. */
UNIV_INTERN
int
ut_snprintf(
/*========*/
/* out: number of characters that would
have been printed if the size were
unlimited, not including the terminating
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment