Lines Matching defs:tok
33 char *tok = NULL, *th = NULL, *fmt = NULL, **fs = NULL;
79 else if ((tok = readstr(netsock, COMM_TOK)) == NULL)
81 else if (strlen(tok) < 1) {
86 for (i = 0; tok[i]; ++i) {
87 int ch = (unsigned char)tok[i];
94 if (asprintf(&fmt, "%s.%s", tok, th) == -1) {
107 if (asprintf(&fs[fsz], "%s/%s", root, tok) == -1) {
112 free(tok);
113 tok = NULL;
166 free(tok);