MCPcopy Create free account
hub / github.com/apache/nuttx / find_value_end

Function find_value_end

tools/initialconfig.c:121–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119 ****************************************************************************/
120
121static char *find_value_end(char *ptr)
122{
123 while (*ptr && !isspace((int)*ptr))
124 {
125 if (*ptr == '"')
126 {
127 do ptr++; while (*ptr && *ptr != '"');
128 if (*ptr) ptr++;
129 }
130 else
131 {
132 do ptr++; while (*ptr && !isspace((int)*ptr) && *ptr != '"');
133 }
134 }
135
136 return ptr;
137}
138
139/****************************************************************************
140 * Name: read_line

Callers 1

parse_lineFunction · 0.70

Calls 1

isspaceFunction · 0.50

Tested by

no test coverage detected