Lines Matching defs:filename
109 filename. This only matters when you don't specify the
110 filename to read_history (), or write_history (). */
112 history_filename (filename)
113 const char *filename;
119 return_val = filename ? savestring (filename) : (char *)NULL;
150 read_history (filename)
151 const char *filename;
153 return (read_history_range (filename, 0, -1));
162 read_history_range (filename, from, to)
163 const char *filename;
180 input = history_filename (filename);
309 char *buffer, *filename, *bp, *bp1; /* bp1 == bp+1 */
315 filename = history_filename (fname);
316 file = open (filename, O_RDONLY|O_BINARY, 0666);
399 if (bp > buffer && ((file = open (filename, O_WRONLY|O_TRUNC|O_BINARY, 0600)) != -1))
415 free (filename);
423 history_do_write (filename, nelements, overwrite)
424 const char *filename;
437 output = history_filename (filename);
531 append_history (nelements, filename)
533 const char *filename;
535 return (history_do_write (filename, nelements, HISTORY_APPEND));
542 write_history (filename)
543 const char *filename;
545 return (history_do_write (filename, history_length, HISTORY_OVERWRITE));