Commit 35862037 authored by Evelyn's avatar Evelyn Committed by GitHub

Update mg_next_comma_list_entry.md

parent e406de7e
...@@ -8,12 +8,12 @@ signature: | ...@@ -8,12 +8,12 @@ signature: |
--- ---
A helper function for traversing a comma separated list of values. A helper function for traversing a comma separated list of values.
It returns a list pointer shifted to the next value, or NULL if the end It returns a list pointer shifted to the next value or NULL if the end
of the list found. of the list found.
Value is stored in val vector. If value has form "x=y", then eq_val The value is stored in a val vector. If the value has a form "x=y", then eq_val
vector is initialized to point to the "y" part, and val vector length vector is initialised to point to the "y" part, and val vector length
is adjusted to point only to "x". is adjusted to point only to "x".
If list is just a comma separated list of entries, like "aa,bb,cc" then If the list is just a comma separated list of entries, like "aa,bb,cc" then
`eq_val` will contain zero-length string. `eq_val` will contain zero-length string.
The purpose of this function is to parse comma separated string without The purpose of this function is to parse comma separated string without
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment