Home
last modified time | relevance | path

Searched refs:el_read (Results 1 – 4 of 4) sorted by relevance

/openbsd/lib/libedit/
H A Dread.c82 if ((el->el_read = malloc(sizeof(*el->el_read))) == NULL) in read_init()
85 ma = &el->el_read->macros; in read_init()
88 free(el->el_read); in read_init()
95 el->el_read->read_char = read_char; in read_init()
103 read_end(struct el_read_t *el_read) in read_end() argument
105 read_clearmacros(&el_read->macros); in read_end()
106 free(el_read->macros.macro); in read_end()
107 el_read->macros.macro = NULL; in read_end()
345 el->el_read->read_errno = errno; in el_wgetc()
394 el->el_read->read_errno = 0; in el_wgets()
[all …]
H A Del.c127 read_end(el->el_read); in el_end()
286 rv = el_read_setfn(el->el_read, rc); in el_wset()
434 *va_arg(ap, el_rfunc_t *) = el_read_getfn(el->el_read); in el_wget()
H A Del.h128 struct el_read_t *el_read; /* Character reading stuff */ member
/openbsd/regress/lib/libedit/read/
H A Dtest_getcmd.c62 ma = &el.el_read->macros; in main()
63 el.el_read->read_errno = ENOMSG; in main()
90 if (el.el_read->read_errno != ENOMSG) in main()
91 printf(" read_errno=%d", el.el_read->read_errno); in main()