repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
move msghdr and cmsghdr out of bits/socket.h
[musl.git]
/
src
/
termios
/
tcsendbreak.c
blob
b6df0a23a302431b079f5a02d49fd7bb6422e5b4
1
#include <termios.h>
2
#include <sys/ioctl.h>
3
4
int
tcsendbreak
(
int
fd
,
int
dur
)
5
{
6
/* nonzero duration is implementation-defined, so ignore it */
7
return
ioctl
(
fd
,
TCSBRK
,
0
);
8
}