source:
trunk/minix/lib/posix/_tcsendbreak.c@
9
| Last change on this file since 9 was 9, checked in by , 15 years ago | |
|---|---|
| File size: 261 bytes | |
| Rev | Line | |
|---|---|---|
| [9] | 1 | /* tcsendbreak() - send a break Author: Kees J. Bot |
| 2 | * 13 Jan 1994 | |
| 3 | */ | |
| 4 | #define tcsendbreak _tcsendbreak | |
| 5 | #define ioctl _ioctl | |
| 6 | #include <termios.h> | |
| 7 | #include <sys/ioctl.h> | |
| 8 | ||
| 9 | int tcsendbreak(int fd, int duration) | |
| 10 | { | |
| 11 | return(ioctl(fd, TCSBRK, &duration)); | |
| 12 | } |
Note:
See TracBrowser
for help on using the repository browser.