Changeset 948222e4 in mainline for uspace/lib/c/generic/str.c
- Timestamp:
 - 2018-03-14T12:04:14Z (8 years ago)
 - Branches:
 - lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
 - Children:
 - 963037b0
 - Parents:
 - 5b61171
 - git-author:
 - Jiri Svoboda <jiri@…> (2018-03-13 17:02:57)
 - git-committer:
 - Jiri Svoboda <jiri@…> (2018-03-14 12:04:14)
 - File:
 - 
      
- 1 edited
 
- 
          
  uspace/lib/c/generic/str.c (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
uspace/lib/c/generic/str.c
r5b61171 r948222e4 1360 1360 1361 1361 /* Skip over leading delimiters. */ 1362 for (tmp = cur = 0; 1363 (ch = str_decode(s, &tmp, len)) && str_chr(delim, ch); /**/) 1362 tmp = 0; 1363 cur = 0; 1364 while ((ch = str_decode(s, &tmp, len)) && str_chr(delim, ch)) 1364 1365 cur = tmp; 1365 1366 start = &s[cur]; 1366 1367 1367 1368 /* Skip over token characters. */ 1368 for (tmp = cur;1369 (ch = str_decode(s, &tmp, len)) && !str_chr(delim, ch); /**/)1369 tmp = cur; 1370 while ((ch = str_decode(s, &tmp, len)) && !str_chr(delim, ch)) 1370 1371 cur = tmp; 1371 1372 end = &s[cur];  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  