MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / _find_word

Function _find_word

components/lwp/lwp_args.c:666–671  ·  view source on GitHub ↗

* @brief Find the start of the next word in a string * * @param[in] cp Pointer to the string to search * * @return char* Pointer to the first non-space character in the string * * @note Skips leading whitespace characters and returns a pointer to the first * non-whitespace character. */

Source from the content-addressed store, hash-verified

664 * non-whitespace character.
665 */
666static char *_find_word(char *cp)
667{
668 for (; (*cp == ' ') || (*cp == '\t'); cp++)
669 ;
670 return cp;
671}
672
673/**
674 * @brief Seperate words in a string and get the next word

Callers 1

lwp_args_load_scriptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected