OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:tty_fd
(Results
1 - 3
of
3
) sorted by null
/external/dbus/tools/
dbus-launch.c
367
int
tty_fd
;
local
396
tty_fd
= 0;
398
tty_fd
= -1;
400
if (
tty_fd
>= 0)
405
if (
tty_fd
< 0 && x_fd < 0)
416
if (
tty_fd
>= 0)
418
FD_SET (
tty_fd
, &read_set);
419
FD_SET (
tty_fd
, &err_set);
428
select (MAX (
tty_fd
, x_fd) + 1,
449
if (
tty_fd
>= 0
[
all
...]
/external/ppp/pppd/
sys-linux.c
396
int tty_establish_ppp (int
tty_fd
)
403
if (ioctl(
tty_fd
, TIOCEXCL, 0) < 0) {
423
if (ioctl(
tty_fd
, TIOCSETD, &ppp_disc) < 0) {
430
ret_fd = generic_establish_ppp(
tty_fd
);
440
if (ioctl(
tty_fd
, TIOCSETD, &tty_disc) < 0 && !ok_error(errno))
548
void tty_disestablish_ppp(int
tty_fd
)
554
if (tcflush(
tty_fd
, TCIOFLUSH) < 0)
562
if (ioctl(
tty_fd
, TIOCSETD, &tty_disc) < 0) {
567
if (ioctl(
tty_fd
, TIOCNXCL, 0) < 0) {
573
if (initfdflags != -1 && fcntl(
tty_fd
, F_SETFL, initfdflags) < 0)
[
all
...]
/external/bluetooth/bluez/plugins/
pnat.c
198
int
tty_fd
;
local
200
tty_fd
= open(client->tty_name, O_RDONLY | O_NOCTTY);
201
if (
tty_fd
< 0) {
221
client->io = g_io_channel_unix_new(
tty_fd
);
Completed in 1175 milliseconds