Searched refs:line_buff (Results 1 - 2 of 2) sorted by relevance
/freebsd-11-stable/contrib/amd/amd/ |
H A D | sun2amd.c | 74 char line_buff[INFO_MAX_LINE_LEN], *tmp, *key, *entry; local 78 memset(line_buff, 0, sizeof(line_buff)); 81 while ((pos = file_read_line(line_buff, sizeof(line_buff), sun_in))) { 83 line_buff[pos - 1] = '\0'; 86 if ((tmp = strchr(line_buff, '#')) != NULL) { 91 key = line_buff; 129 memset(line_buff, 0, sizeof(line_buff)); [all...] |
H A D | sun_map.c | 508 char line_buff[INFO_MAX_LINE_LEN]; local 524 xstrlcpy(line_buff, s_entry_str, sizeof(line_buff)); 525 ws = strlen(line_buff) - 1; 526 while (ws >= 0 && (isspace((unsigned char)line_buff[ws]) || line_buff[ws] == '\n')) { 527 line_buff[ws--] = '\0'; 531 s_entry = sun_map_parse_read(line_buff); 537 memset(line_buff, 0, sizeof(line_buff)); [all...] |
Completed in 59 milliseconds