projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
prototype getdtablesize (nonstandard function)
[musl]
/
src
/
termios
/
tcdrain.c
1
#include <termios.h>
2
#include <sys/ioctl.h>
3
#include "libc.h"
4
5
int tcdrain(int fd)
6
{
7
int ret;
8
CANCELPT_BEGIN;
9
ret = ioctl(fd, TCSBRK, 1);
10
CANCELPT_TRY;
11
CANCELPT_END;
12
return ret;
13
}