OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ttyfd
(Results
1 - 8
of
8
) sorted by null
/external/openssh/
sshpty.c
64
pty_allocate(int *ptyfd, int *
ttyfd
, char *namebuf, size_t namebuflen)
70
i = openpty(ptyfd,
ttyfd
, NULL, NULL, NULL);
84
name = ttyname(*
ttyfd
);
109
pty_make_controlling_tty(int *
ttyfd
, const char *tty)
129
ioctl(*
ttyfd
, TCSETCTTY, NULL);
133
close(*
ttyfd
);
134
*
ttyfd
= fd;
160
if (ioctl(*
ttyfd
, TIOCSCTTY, NULL) < 0)
readpass.c
122
int rppflags, use_askpass = 0,
ttyfd
;
local
134
ttyfd
= open(_PATH_TTY, O_RDWR);
135
if (
ttyfd
>= 0)
136
close(
ttyfd
);
session.h
41
int ptyfd,
ttyfd
, ptymaster;
member in struct:Session
session.c
480
int fdout, ptyfd,
ttyfd
, ptymaster;
local
486
ttyfd
= s->
ttyfd
;
497
close(
ttyfd
);
504
close(
ttyfd
);
516
close(
ttyfd
);
532
pty_make_controlling_tty(&
ttyfd
, s->tty);
535
if (dup2(
ttyfd
, 0) < 0)
537
if (dup2(
ttyfd
, 1) < 0)
539
if (dup2(
ttyfd
, 2) < 0
[
all
...]
monitor_wrap.c
486
mm_pty_allocate(int *ptyfd, int *
ttyfd
, char *namebuf, size_t namebuflen)
528
(*
ttyfd
= mm_receive_fd(pmonitor->m_recvfd)) == -1)
540
if (s->
ttyfd
== -1)
553
s->
ttyfd
= -1;
monitor.c
[
all
...]
configure
[
all
...]
/external/ppp/pppd/
tty.c
127
static int
ttyfd
; /* Serial port file descriptor */
variable
590
ttyfd
= real_ttyfd;
591
if ((fdflags = fcntl(
ttyfd
, F_GETFL)) == -1
592
|| fcntl(
ttyfd
, F_SETFL, fdflags & ~O_NONBLOCK) < 0)
603
if (fstat(
ttyfd
, &statbuf) < 0
604
|| fchmod(
ttyfd
, statbuf.st_mode & ~(S_IWGRP | S_IWOTH)) < 0) {
620
set_up_tty(
ttyfd
, ((connector != NULL && connector[0] != 0)
669
int fd = dup(
ttyfd
);
675
ttyfd
= pty_slave;
692
if (device_script(initializer,
ttyfd
, ttyfd, 0) < 0)
[
all
...]
Completed in 913 milliseconds