Searched refs:tokst (Results 1 – 1 of 1) sorted by relevance
2426 static TOK_STATE tokst; in tokenize_user_cmd() local2435 tokst.tokst_cmd_len = strlen(user_cmd_str); in tokenize_user_cmd()2436 if ((len > 0) && (len < tokst.tokst_cmd_len)) in tokenize_user_cmd()2437 tokst.tokst_cmd_len = len; in tokenize_user_cmd()2438 tokst.tokst_cmd_len++; /* Room for NULL termination */ in tokenize_user_cmd()2439 strbuf_ensure_size(&str, tokst.tokst_cmd_len); in tokenize_user_cmd()2440 (void) strlcpy(str.buf, user_cmd_str, tokst.tokst_cmd_len); in tokenize_user_cmd()2443 if ((tokst.tokst_cmd_len > 1) && in tokenize_user_cmd()2444 (str.buf[tokst.tokst_cmd_len - 2] == '\n')) { in tokenize_user_cmd()2445 tokst.tokst_cmd_len--; in tokenize_user_cmd()[all …]