File: tcflush.c

package info (click to toggle)
dietlibc 0.34~cvs20160606-12
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 11,388 kB
  • sloc: ansic: 71,664; asm: 13,008; cpp: 1,860; makefile: 804; sh: 292; perl: 62
file content (9 lines) | stat: -rw-r--r-- 255 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
#include <sys/ioctl.h>

int __libc_tcflush(int fd, int queue_selector);
int __libc_tcflush(int fd, int queue_selector)
{
  return ioctl(fd, TCFLSH, queue_selector);
}

int tcflush(int fd, int queue_selector) __attribute__((weak,alias("__libc_tcflush")));