projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
type directives for x86_64 math asm
[oweals/musl.git]
/
src
/
termios
/
tcdrain.c
1
#include <termios.h>
2
#include <sys/ioctl.h>
3
#include "libc.h"
4
#include "syscall.h"
5
6
int tcdrain(int fd)
7
{
8
return syscall_cp(SYS_ioctl, fd, TCSBRK, 1);
9
}