Searched refs:token (Results 1 – 1 of 1) sorted by relevance
/string/ |
A D | bug-strtok1.c | 9 char *token; in do_test() local 18 result |= token == NULL || strcmp (token, "x"); in do_test() 19 printf ("token: %s (%d)\n", token ? token : "NULL", result); in do_test() 20 token = strtok(0, "ab"); in do_test() 21 result |= token != NULL; in do_test() 22 printf ("token: %s (%d)\n", token ? token : "NULL", result); in do_test() 23 token = strtok(0, "a"); in do_test() 25 printf ("token: %s (%d)\n", token ? token : "NULL", result); in do_test() 32 result |= token == NULL || strcmp (token, "x"); in do_test() 33 printf ("token: %s, next = %p (%d)\n", token ? token : "NULL", l, result); in do_test() [all …]
|
Completed in 4 milliseconds