OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:pty_master
(Results
1 - 2
of
2
) sorted by null
/external/selinux/policycoreutils/run_init/
open_init_pty.c
204
int
pty_master
;
local
249
child_pid = forkpty(&
pty_master
, NULL, &tty_attr, &window_size);
251
child_pid = forkpty(&
pty_master
, NULL, NULL, NULL);
280
setfd_nonblock(
pty_master
);
300
FD_SET(
pty_master
, &readfds);
305
FD_SET(
pty_master
, &writefds);
331
int select_rc = select(
pty_master
+ 1, &readfds, &writefds, NULL, NULL);
355
if (FD_ISSET(
pty_master
, &writefds)) {
357
fprintf(stderr, "
pty_master
can be written\n");
359
ssize_t n = rb_write(&inbuf,
pty_master
);
[
all
...]
/external/ppp/pppd/
tty.c
124
static int
pty_master
; /* fd for master side of pty */
variable
532
pty_master
= -1;
536
if (!get_pty(&
pty_master
, &pty_slave, ppp_devnam, uid)) {
649
if (device_script(ptycommand,
pty_master
,
pty_master
, 1) < 0)
676
close(
pty_master
);
677
pty_master
= -1;
765
if (
pty_master
>= 0) {
766
close(
pty_master
);
767
pty_master
= -1
[
all
...]
Completed in 1128 milliseconds