Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
d6361c7
)
Change unformat_init_string API in doc to match code
46/30846/2
author
hemant_mnkcg
<hemant@mnkcg.com>
Tue, 19 Jan 2021 19:20:04 +0000
(14:20 -0500)
committer
Dave Wallace
<dwallacelf@gmail.com>
Wed, 27 Jan 2021 20:43:29 +0000
(20:43 +0000)
Signed-off-by: hemant_mnkcg <hemant@mnkcg.com>
Change-Id: I4ec487054f928d52fe06d530df095b30edf66ae5
docs/gettingstarted/developers/infrastructure.md
patch
|
blob
|
history
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>);
```