OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ptyfd
(Results
1 - 6
of
6
) sorted by relevancy
/src/crypto/external/bsd/openssh/dist/
sshpty.c
51
pty_allocate(int *
ptyfd
, int *ttyfd, char *namebuf, size_t namebuflen)
56
i = openpty(
ptyfd
, ttyfd, buf, NULL, NULL);
127
pty_change_window_size(int
ptyfd
, u_int row, u_int col,
137
(void) ioctl(
ptyfd
, TIOCSWINSZ, &w);
session.h
45
int
ptyfd
, ttyfd, ptymaster;
member in struct:Session
session.c
510
int fdout,
ptyfd
, ttyfd, ptymaster;
local
515
ptyfd
= s->
ptyfd
;
525
if ((fdout = dup(
ptyfd
)) == -1) {
528
close(
ptyfd
);
532
if ((ptymaster = dup(
ptyfd
)) == -1) {
535
close(
ptyfd
);
547
close(
ptyfd
);
556
close(
ptyfd
);
591
session_set_fds(ssh, s,
ptyfd
, fdout, -1, 1, 1)
[
all
...]
monitor.c
1723
debug3_f("tty %s
ptyfd
%d", s->tty, s->
ptyfd
);
1745
res = pty_allocate(&s->
ptyfd
, &s->ttyfd, s->tty, sizeof(s->tty));
1770
if (mm_send_fd(sock, s->
ptyfd
) == -1 ||
1782
s->ttyfd = s->
ptyfd
;
1783
/* no need to dup() because nobody closes
ptyfd
*/
1784
s->ptymaster = s->
ptyfd
;
1786
debug3_f("tty %s
ptyfd
%d", s->tty, s->ttyfd);
monitor_wrap.c
645
mm_pty_allocate(int *
ptyfd
, int *ttyfd, char *namebuf, size_t namebuflen)
689
if ((*
ptyfd
= mm_receive_fd(pmonitor->m_recvfd)) == -1 ||
/src/libexec/telnetd/
sys_term.c
186
int
ptyfd
;
local
188
ptyfd
= openpty(ptynum, &ptyslavefd, line, NULL, NULL);
189
if (
ptyfd
== 0)
Completed in 20 milliseconds
Indexes created Thu Jul 30 00:24:59 UTC 2026