Source Code (Use browser search to find items of interest.)
Class Index
kfloppy'parse_mode (./kdeutils/kfloppy/e2fs/lib/ss/parse.c:17)
enum parse_mode { WHITESPACE, TOKEN, QUOTED_STRING };
/*
* parse(line_ptr, argc_ptr)
*
* Function:
* Parses line, dividing at whitespace, into tokens, returns
* the "argc" and "argv" values.
* Arguments:
* line_ptr (char *)
* Pointer to text string to be parsed.
* argc_ptr (int *)
* Where to put the "argc" (number of tokens) value.
* Returns:
* argv (char **)
* Series of pointers to parsed tokens.
*/