OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ttyfd
(Results
1 - 4
of
4
) sorted by null
/external/openssh/
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
632
int fdout, ptyfd,
ttyfd
, ptymaster;
local
638
ttyfd
= s->
ttyfd
;
649
close(
ttyfd
);
656
close(
ttyfd
);
668
close(
ttyfd
);
684
pty_make_controlling_tty(&
ttyfd
, s->tty);
687
if (dup2(
ttyfd
, 0) < 0)
689
if (dup2(
ttyfd
, 1) < 0)
691
if (dup2(
ttyfd
, 2) < 0
[
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 248 milliseconds