Lines Matching refs:buf
82 char *lp, buf[MAXPATHLEN * 2];
134 strlen(CONFIG_NAME) + 1 > sizeof(buf)) {
138 (void)strcpy(buf, dbenv->db_home);
139 (void)strcat(buf, CONFIG_NAME);
140 if ((fp = fopen(buf, "r")) != NULL) {
141 while (fgets(buf, sizeof(buf), fp) != NULL) {
142 if ((lp = strchr(buf, '\n')) == NULL) {
149 if (buf[0] == '\0' ||
150 buf[0] == '#' || isspace(buf[0]))
153 if ((ret = __db_parse(dbenv, buf)) != 0)