Lines Matching defs:hf
267 char *hf;
281 hf = get_string_value ("HISTFILE");
283 if (hf && *hf && stat (hf, &buf) == 0)
285 read_history (hf);
296 char *hf;
299 hf = get_string_value ("HISTFILE");
300 if (hf && *hf && stat (hf, &buf) == 0)
307 append_history (history_lines_this_session, hf);
309 write_history (hf);
350 char *hf;
356 hf = get_string_value ("HISTFILE");
358 if (hf && *hf)
361 if (stat (hf, &buf) == -1)
364 file = open (hf, O_CREAT | O_TRUNC | O_WRONLY, 0600);
375 result = append_history (history_lines_this_session, hf);
380 result = write_history (hf);