String Tokenizer
FILE *fp = fopen("/etc/passwd", "r"); char *buf; while((buf = qFileReadLine(fp)) != NULL) { qStrTrimTail(buf); Q_ENTRY *tokens = qStrTokenizer(buf, ":"); printf("%s\n", qEntryGetStr(tokens, "1")); qEntryFree(tokens); } fclose(fp);
Definition at line 412 of file qString.c.