Lines Matching defs:current_position
83 char *current_position;
134 current_position = (char *)str->s_buffer;
139 (void) fgets(current_position, end_of_buffer - current_position,
147 str->s_current.l_data.sp = current_position;
152 if ((next_nl = memchr(current_position, '\n',
153 end_of_buffer - current_position)) == NULL) {
155 str->s_current.l_data_length = MIN(strlen(current_position),
156 end_of_buffer - current_position);
158 str->s_current.l_data_length = next_nl - current_position;