Searched refs:masterfd (Results 1 - 9 of 9) sorted by relevance
/lxc/src/tests/ |
H A D | console.c | 40 int masterfd[MAXCONSOLES]) 45 if (masterfd[i] != -1) { 46 close(masterfd[i]); 47 masterfd[i] = -1; 61 int masterfd[MAXCONSOLES]; local 64 ttynum[i] = ttyfd[i] = masterfd[i] = -1; 67 ret = c->console_getfd(c, &ttynum[0], &masterfd[0]); 79 ret = c->console_getfd(c, &ttynum[0], &masterfd[1]); 84 close(masterfd[0]); masterfd[ 39 test_console_close_all(int ttyfd[MAXCONSOLES], int masterfd[MAXCONSOLES]) argument [all...] |
/lxc/src/lxc/ |
H A D | console.h | 37 int masterfd; member in struct:lxc_tty_state 132 int *masterfd);
|
H A D | console.c | 78 lxc_console_winsz(ts->stdinfd, ts->masterfd); 121 ts->masterfd = dstfd; 361 int masterfd = -1, ttynum; local 368 masterfd = console->peerpty.master; 396 masterfd = tty_info->pty_info[ttynum - 1].master; 398 return masterfd; 620 if (lxc_write_nointr(ts->masterfd, &c, 1) <= 0) 633 if (fd != ts->masterfd) 651 int lxc_console_getfd(struct lxc_container *c, int *ttynum, int *masterfd) argument 653 return lxc_cmd_console(c->name, ttynum, masterfd, 660 int ret, ttyfd, masterfd; local [all...] |
H A D | commands.h | 67 int masterfd; member in struct:lxc_cmd_console_rsp_data
|
H A D | commands.c | 196 rspdata->masterfd = rspfd; 728 if (rspdata->masterfd < 0) { 734 *fd = rspdata->masterfd; 746 int masterfd; local 749 masterfd = lxc_console_allocate(handler->conf, fd, &ttynum); 750 if (masterfd < 0) 755 if (lxc_abstract_unix_send_fd(fd, masterfd, &rsp, sizeof(rsp)) < 0) {
|
H A D | lxccontainer.h | 577 * \param[out] masterfd File descriptor referring to the master side of the pty. 589 int (*console_getfd)(struct lxc_container *c, int *ttynum, int *masterfd);
|
H A D | lxccontainer.c | 483 static int do_lxcapi_console_getfd(struct lxc_container *c, int *ttynum, int *masterfd) argument 489 ttyfd = lxc_console_getfd(c, ttynum, masterfd);
|
/lxc/src/python-lxc/examples/ |
H A D | pyconsole-vte.py | 40 masterfd = ct.console_getfd(ttynum) 46 term.set_pty(masterfd)
|
/lxc/src/python-lxc/ |
H A D | lxc.c | 819 int ttynum = -1, masterfd; local 825 &masterfd) < 0) { 829 return PyLong_FromLong(masterfd);
|
Completed in 181 milliseconds