Lines Matching defs:globals
190 struct globals { struct
191 int cur_fline; /* signed */
192 int kbd_fd; /* fd to get input from */
193 int kbd_fd_orig_flags;
194 int less_gets_pos;
196 size_t last_line_pos;
197 unsigned max_fline;
198 unsigned max_lineno; /* this one tracks linewrap */
199 unsigned max_displayed_line;
200 unsigned width;
202 unsigned winch_counter;
204 ssize_t eof_error; /* eof if 0, error if < 0 */
205 ssize_t readpos;
206 ssize_t readeof; /* must be signed */
207 const char **buffer;
208 const char **flines;
209 const char *empty_line_marker;
210 unsigned num_files;
211 unsigned current_file;
212 char *filename;
213 char **files;
215 int num_lines; /* a flag if < 0, line count if >= 0 */
242 #define G (*ptr_to_globals) argument