Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Change unformat_init_string API in doc to match code
[vpp.git]
/
docs
/
gettingstarted
/
developers
/
infrastructure.md
diff --git
a/docs/gettingstarted/developers/infrastructure.md
b/docs/gettingstarted/developers/infrastructure.md
index
cae34fc
..
a61068c
100644
(file)
--- a/
docs/gettingstarted/developers/infrastructure.md
+++ b/
docs/gettingstarted/developers/infrastructure.md
@@
-438,8
+438,9
@@
follows:
```c
unformat_input_t input;
+ u8 *s = "<some-C-string>";
- unformat_init_string (&input,
"<some-C-string>"
);
+ unformat_init_string (&input,
(char *) s, strlen((char *) s)
);
/* or */
unformat_init_vector (&input, <u8-vector>);
```