Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
ac8c7568
Commit
ac8c7568
authored
Jul 25, 2016
by
Evelyn
Committed by
GitHub
Jul 25, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update mg_avprintf.md
parent
07faacda
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
mg_avprintf.md
docs/c-api/util.h/mg_avprintf.md
+3
-3
No files found.
docs/c-api/util.h/mg_avprintf.md
View file @
ac8c7568
...
@@ -6,9 +6,9 @@ signature: |
...
@@ -6,9 +6,9 @@ signature: |
int mg_avprintf(char **buf, size_t size, const char *fmt, va_list ap);
int mg_avprintf(char **buf, size_t size, const char *fmt, va_list ap);
---
---
Print
message to buffer. If
buffer is large enough to hold the message,
Print
s message to the buffer. If the
buffer is large enough to hold the message,
return buffer. If buffer is to small, allocate large enough buffer on heap,
it returns buffer. If buffer is to small, it allocates a large enough buffer on heap
and return allocated buffer.
and return
s
allocated buffer.
This is a supposed use case:
This is a supposed use case:
char buf
[
5
]
,
*
p = buf;
char buf
[
5
]
,
*
p = buf;
...
...
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