Linux Audio

Check our new training course

Embedded Linux Audio

Check our new training course
with Creative Commons CC-BY-SA
lecture materials

Bootlin logo

Elixir Cross Referencer

Loading...
#include <termios.h>
#include <sys/ioctl.h>
#include "libc.h"

int tcdrain(int fd)
{
	int ret;
	CANCELPT_BEGIN;
	ret = ioctl(fd, TCSBRK, 1);
	CANCELPT_TRY;
	CANCELPT_END;
	return ret;
}