Home
last modified time | relevance | path

Searched refs:ioctl (Results 1 – 19 of 19) sorted by relevance

/bionic/libc/include/bits/
Dtermios_inlines.h82 return ioctl(fd, TCSBRK, __BIONIC_CAST(static_cast, unsigned long, 1)); in tcdrain()
86 return ioctl(fd, TCXONC, __BIONIC_CAST(static_cast, unsigned long, action)); in tcflow()
90 return ioctl(fd, TCFLSH, __BIONIC_CAST(static_cast, unsigned long, queue)); in tcflush()
94 return ioctl(fd, TCGETS, s); in tcgetattr()
99 return (ioctl(fd, TIOCGSID, &sid) == -1) ? -1 : sid; in tcgetsid()
103 return ioctl(fd, TCSBRKP, __BIONIC_CAST(static_cast, unsigned long, duration)); in tcsendbreak()
114 return ioctl(fd, cmd, s); in tcsetattr()
Dioctl.h36 int ioctl(int, int, ...);
/bionic/libc/bionic/
Dtermios.cpp40 return (ioctl(fd, TIOCGPGRP, &pid) == -1) ? -1 : pid; in tcgetpgrp()
45 return ioctl(fd, TIOCSPGRP, &pid); in tcsetpgrp()
Dpty.cpp67 if (ioctl(fd, TIOCGPTN, &pty_num) != 0) { in ptsname_r()
114 return ioctl(fd, TIOCSPTLCK, &unlock); in unlockpt()
147 ioctl(*slave, TIOCSWINSZ, ws); in openpty()
186 if (ioctl(fd, TIOCSCTTY, NULL) == -1) { in login_tty()
Dioctl.cpp34 int ioctl(int fd, int request, ...) { in ioctl() function
Dnet_if.cpp55 int rc = ioctl(s, SIOCGIFNAME, &ifr); in if_indextoname()
70 int rc = ioctl(s, SIOCGIFINDEX, &ifr); in if_nametoindex()
Dgetentropy_linux.c248 if (ioctl(fd, RNDGETENTCNT, &cnt) == -1) { in getentropy_urandom()
/bionic/tests/
Dpty_test.cpp44 ASSERT_EQ(0, ioctl(slave, TIOCGWINSZ, &w_actual)); in TEST()
Difaddrs_test.cpp125 ASSERT_EQ(0, ioctl(fd, SIOCGIFFLAGS, &ifr)) << if_name << ' ' << strerror(errno); in CheckAddressIsInSet()
129 ASSERT_EQ(0, ioctl(fd, request, &ifr)) << if_name << ' ' << strerror(errno); in CheckAddressIsInSet()
/bionic/libc/tools/
Dposix-2013.txt416 ioctl
/bionic/libc/
DSYSCALLS.TXT119 int __ioctl:ioctl(int, int, void*) all
Dlibc.mips64.map449 ioctl;
Dlibc.x86_64.map449 ioctl;
Dlibc.arm64.map449 ioctl;
Dlibc.mips.map519 ioctl;
Dlibc.x86.map517 ioctl;
Dlibc.arm.map521 ioctl;
Dlibc.map.txt523 ioctl;
DAndroid.bp1399 "bionic/ioctl.cpp",