projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
only use memcpy realloc to shrink if an exact-sized free chunk exists
[oweals/musl.git]
/
src
/
termios
/
tcdrain.c
1
#include <termios.h>
2
#include <sys/ioctl.h>
3
#include "syscall.h"
4
5
int tcdrain(int fd)
6
{
7
return syscall_cp(SYS_ioctl, fd, TCSBRK, 1);
8
}