Changeset 43e02a6 in mainline for uspace/app/bdsh/util.c
- Timestamp:
- 2008-08-29T11:07:22Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0c4f46a
- Parents:
- 3771a6e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/util.c
r3771a6e r43e02a6 238 238 return (cli_strtok_r(s, delim, &last)); 239 239 } 240 241 /* Count and return the # of elements in an array */ 242 unsigned int cli_count_args(char **args) 243 { 244 unsigned int i; 245 246 for (i=0; args[i] != NULL; i++); 247 return i; 248 } 249
Note:
See TracChangeset
for help on using the changeset viewer.