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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
1c387614
Commit
1c387614
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
2c097942
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 @
1c387614
...
...
@@ -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
...
...
ut/ut0ut.c
View file @
1c387614
...
...
@@ -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
...
...
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