Searched refs:sh_master (Results 1 – 3 of 3) sorted by relevance
103 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 …]
12 int sh_master; /* Master pty fd. */ member
228 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()