projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
simplify setting result on thread cancellation
[musl]
/
src
/
termios
/
tcdrain.c
diff --git
a/src/termios/tcdrain.c
b/src/termios/tcdrain.c
index
8e889b5
..
9ff1ecd
100644
(file)
--- a/
src/termios/tcdrain.c
+++ b/
src/termios/tcdrain.c
@@
-7,6
+7,7
@@
int tcdrain(int fd)
int ret;
CANCELPT_BEGIN;
ret = ioctl(fd, TCSBRK, 1);
+ CANCELPT_TRY;
CANCELPT_END;
return ret;
}