Lines Matching refs:word
50 * Read a word from a file, respecting shell quoting rules.
56 char *word;
94 word = NULL;
104 if (openpam_straddch(&word, &size, &len, 0) != 0)
114 openpam_straddch(&word, &size, &len, '\\') != 0) {
115 free(word);
119 if (openpam_straddch(&word, &size, &len, ch) != 0) {
120 free(word);
131 free(word);
138 free(word);
145 return (word);
149 * The =openpam_readword function reads the next word from a file, and
152 * A word is a sequence of non-whitespace characters.
153 * However, whitespace characters can be included in a word if quoted or
179 * If a hash character occurs within a word, however, it is preserved
186 * If =lenp is not =NULL, the length of the word (after quotes and
192 * dynamically allocated NUL-terminated string containing the first word
199 * characters are copied to the word, it returns =NULL. In the former