Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
mongoose
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ganil-acq
GANILinux
linux-service
library
mongoose
Commits
ac8c7568
Commit
ac8c7568
authored
8 years ago
by
Evelyn
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update mg_avprintf.md
parent
07faacda
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/c-api/util.h/mg_avprintf.md
+3
-3
3 additions, 3 deletions
docs/c-api/util.h/mg_avprintf.md
with
3 additions
and
3 deletions
docs/c-api/util.h/mg_avprintf.md
+
3
−
3
View file @
ac8c7568
...
...
@@ -6,9 +6,9 @@ signature: |
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,
return buffer. If buffer is to small, allocate large enough buffer on heap
,
and return allocated buffer.
Print
s
message to
the
buffer. If
the
buffer is large enough to hold the message,
it
return
s
buffer. If buffer is to small,
it
allocate
s a
large enough buffer on heap
and return
s
allocated buffer.
This is a supposed use case:
char buf[5],
*
p = buf;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment