Lines Matching refs:str
52 openpam_straddch(char **str, size_t *size, size_t *len, int ch)
57 if (*str == NULL) {
65 *str = tmpstr;
71 if ((tmpstr = realloc(*str, tmpsize)) == NULL) {
77 *str = tmpstr;
80 (*str)[*len] = ch;
83 (*str)[*len] = '\0';
91 * The =str argument points to a variable containing either a pointer to
93 * If the value of the variable pointed to by =str is =NULL, a new buffer
101 * still allocated if =str is NULL. This can be used to "bootstrap" the
105 * make room for the additional character, =str and =size are updated
113 * Otherwise, it leaves the variables pointed to by =str, =size and =len