Lines Matching refs:configBuf
91 static char *configBuf, *configRBuf; /* buffer for lines */
106 * newline; we need to grow configBuf and configRBuf as needed to
150 free(configBuf);
153 configBuf = tmpConfigBuf;
161 ret = fgets(configBuf + pos, configBufLen - pos - 1,
170 strcpy(&configBuf[pos], "\n");
171 ret = configBuf;
180 c = configBuf[i];
198 tmpConfigBuf = realloc(configBuf, configBufLen + CONFIG_BUF_LEN);
212 configBuf = tmpConfigBuf;
223 configBuf = tmpConfigBuf;
270 c = configBuf[configPos];
287 strlcpy(configBuf,
289 ret = configBuf;
313 c = configBuf[configPos++];
331 configRBuf[i++] = (c = configBuf[configPos++]);
343 else if ((c == ',') && !isalpha(configBuf[configPos])) {
346 else if ((c == '-') && !isalpha(configBuf[configPos])) {
357 if ((configBuf[configPos] == 'x') ||
358 (configBuf[configPos] == 'X')) {
373 while (isdigit(c = configBuf[configPos++]) ||
391 configRBuf[++i] = (c = configBuf[configPos++]);
408 configRBuf[++i] = (c = configBuf[configPos++]);
859 configBuf = malloc(CONFIG_BUF_LEN);
861 configBuf[0] = '\0'; /* sanity ... */
945 free(configBuf);
946 configBuf = NULL;