Searched refs:ioctl (Results 1 – 19 of 19) sorted by relevance
/bionic/libc/bionic/ |
D | termios.cpp | 70 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()
|
D | pty.cpp | 67 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()
|
D | ioctl.cpp | 34 int ioctl(int fd, int request, ...) { in ioctl() function
|
D | net_if.cpp | 55 int rc = ioctl(s, SIOCGIFNAME, &ifr); in if_indextoname() 70 int rc = ioctl(s, SIOCGIFINDEX, &ifr); in if_nametoindex()
|
D | getentropy_linux.c | 248 if (ioctl(fd, RNDGETENTCNT, &cnt) == -1) { in getentropy_urandom()
|
/bionic/libc/include/android/ |
D | legacy_termios_inlines.h | 43 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/ |
D | ioctl.h | 36 int ioctl(int, int, ...);
|
/bionic/tests/ |
D | pty_test.cpp | 44 ASSERT_EQ(0, ioctl(slave, TIOCGWINSZ, &w_actual)); in TEST()
|
D | ifaddrs_test.cpp | 125 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/ |
D | posix-2013.txt | 416 ioctl
|
/bionic/libc/ |
D | SYSCALLS.TXT | 119 int __ioctl:ioctl(int, int, void*) all
|
D | libc.mips64.map | 449 ioctl;
|
D | libc.x86_64.map | 449 ioctl;
|
D | libc.arm64.map | 449 ioctl;
|
D | libc.x86.map | 517 ioctl;
|
D | libc.mips.map | 519 ioctl;
|
D | libc.arm.map | 521 ioctl;
|
D | libc.map.txt | 523 ioctl;
|
D | Android.bp | 1309 "bionic/ioctl.cpp",
|