Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 62. Terminals > Terminal Line Control

62.8. Terminal Line Control

The tcsendbreak(), tcdrain(), tcflush(), and tcflow() functions perform tasks that are usually collectively grouped under the term line control. (These functions are POSIX inventions designed to replace various ioctl() operations.)

#include <termios.h>

int tcsendbreak(int fd, int duration);
int tcdrain(int fd);
int tcflush(int fd, int queue_selector);
int tcflow(int fd, int action);


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial