Home
last modified time | relevance | path

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

/dragonfly/contrib/nvi2/ex/
H A Dex_script.c103 sc->sh_master = sc->sh_slave = -1; in sscr_init()
121 if (openpty(&sc->sh_master, in sscr_init()
135 err: if (sc->sh_master != -1) in sscr_init()
136 (void)close(sc->sh_master); in sscr_init()
159 (void)close(sc->sh_master); in sscr_init()
215 FD_SET(sc->sh_master, &fdset); in sscr_getprompt()
391 maxfd = sp->script->sh_master; in sscr_input()
484 FD_SET(sc->sh_master, &rdfd); in sscr_insert()
485 if (select(sc->sh_master + 1, in sscr_insert()
592 if (sc->sh_master != -1) in sscr_end()
[all …]
H A Dscript.h12 int sh_master; /* Master pty fd. */ member
/dragonfly/contrib/nvi2/cl/
H A Dcl_read.c228 FD_SET(sp->script->sh_master, &rdfd); in cl_read()
229 if (sp->script->sh_master > maxfd) in cl_read()
230 maxfd = sp->script->sh_master; in cl_read()