Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
3174e395
Commit
3174e395
authored
May 20, 2009
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: ut_snprintf(): Fix the function comments.
parent
cea9a03a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
include/ut0ut.h
include/ut0ut.h
+6
-4
ut/ut0ut.c
ut/ut0ut.c
+6
-4
No files found.
include/ut0ut.h
View file @
3174e395
...
@@ -306,12 +306,14 @@ ut_copy_file(
...
@@ -306,12 +306,14 @@ ut_copy_file(
FILE
*
src
);
/* in: input file to be appended to output */
FILE
*
src
);
/* in: input file to be appended to output */
#endif
/* !UNIV_HOTBACKUP */
#endif
/* !UNIV_HOTBACKUP */
/**************************************************************************
snprintf(). */
#ifdef __WIN__
#ifdef __WIN__
/**************************************************************************
A substitute for snprintf(3), formatted output conversion into
a limited buffer. */
UNIV_INTERN
int
int
ut_snprintf
(
ut_snprintf
(
/*========*/
/* out: number of characters that would
/* out: number of characters that would
have been printed if the size were
have been printed if the size were
unlimited, not including the terminating
unlimited, not including the terminating
...
@@ -321,7 +323,7 @@ ut_snprintf(
...
@@ -321,7 +323,7 @@ ut_snprintf(
const
char
*
fmt
,
/* in: format */
const
char
*
fmt
,
/* in: format */
...);
/* in: format values */
...);
/* in: format values */
#else
#else
#define ut_snprintf snprintf
#
define ut_snprintf snprintf
#endif
/* __WIN__ */
#endif
/* __WIN__ */
#ifndef UNIV_NONINL
#ifndef UNIV_NONINL
...
...
ut/ut0ut.c
View file @
3174e395
...
@@ -552,13 +552,15 @@ ut_copy_file(
...
@@ -552,13 +552,15 @@ ut_copy_file(
}
}
#endif
/* !UNIV_HOTBACKUP */
#endif
/* !UNIV_HOTBACKUP */
/**************************************************************************
snprintf(). */
#ifdef __WIN__
#ifdef __WIN__
#include <stdarg.h>
# include <stdarg.h>
/**************************************************************************
A substitute for snprintf(3), formatted output conversion into
a limited buffer. */
UNIV_INTERN
int
int
ut_snprintf
(
ut_snprintf
(
/*========*/
/* out: number of characters that would
/* out: number of characters that would
have been printed if the size were
have been printed if the size were
unlimited, not including the terminating
unlimited, not including the terminating
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment