Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dtermios.cpp70 return ioctl(fd, TCSBRK, static_cast<unsigned long>(1)); in tcdrain()
74 return ioctl(fd, TCXONC, static_cast<unsigned long>(action)); in tcflow()
78 return ioctl(fd, TCFLSH, static_cast<unsigned long>(queue)); in tcflush()
82 return ioctl(fd, TCGETS, s); in tcgetattr()
87 if (ioctl(fd, TIOCGSID, &sid) == -1) { in tcgetsid()
94 return ioctl(fd, TCSBRKP, static_cast<unsigned long>(duration)); in tcsendbreak()
105 return ioctl(fd, cmd, s); in tcsetattr()
110 if (ioctl(fd, TIOCGPGRP, &pid) == -1) { in tcgetpgrp()
117 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/libc/include/android/
Dlegacy_termios_inlines.h43 return ioctl(fd, TCGETS, s); in tcgetattr()
47 return ioctl(fd, __opt, (void *)s); in tcsetattr()
51 return ioctl(fd, TCXONC, (void *)(intptr_t)action); in tcflow()
55 return ioctl(fd, TCFLSH, (void *)(intptr_t)__queue); in tcflush()
60 return ioctl(fd, TIOCGSID, &_pid) ? (pid_t)-1 : _pid; in tcgetsid()
64 return ioctl(fd, TCSBRKP, (void *)(uintptr_t)__duration); in tcsendbreak()
103 return ioctl(fd, TCSBRK, __BIONIC_CAST(static_cast, unsigned long, 1)); in tcdrain()
/bionic/libc/include/bits/
Dioctl.h36 int ioctl(int, int, ...);
/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.x86.map517 ioctl;
Dlibc.mips.map519 ioctl;
Dlibc.arm.map521 ioctl;
Dlibc.map.txt523 ioctl;
DAndroid.bp1309 "bionic/ioctl.cpp",