Home
last modified time | relevance | path

Searched refs:fname (Results 1 – 3 of 3) sorted by relevance

/libedit-20250104-3.1/src/
Dhist.h67 #define HIST_LOAD(el, fname) HIST_FUN(el, H_LOAD fname) argument
68 #define HIST_SAVE(el, fname) HIST_FUN(el, H_SAVE fname) argument
Del.c551 el_source(EditLine *el, const char *fname) in el_source() argument
562 if (fname == NULL) { in el_source()
567 if ((fname = secure_getenv("EDITRC")) == NULL) { in el_source()
578 fname = path; in el_source()
582 if (fname[0] == '\0') in el_source()
586 fp = fopen(fname, "r"); in el_source()
Dhistory.c774 history_load(TYPE(History) *h, const char *fname) in history_load() argument
789 if ((fp = fopen(fname, "r")) == NULL) in history_load()
891 history_save(TYPE(History) *h, const char *fname) in history_save() argument
896 if ((i = open(fname, O_WRONLY|O_CREAT|O_TRUNC, in history_save()