\hypertarget{serial_8h}{}\section{/home/mk/tmp/lirc/lib/serial.h File Reference}
\label{serial_8h}\index{/home/mk/tmp/lirc/lib/serial.\+h(ae09b60 2015-\/02-\/12 15\+:37\+:34 +0100)@{/home/mk/tmp/lirc/lib/serial.\+h(ae09b60 2015-\/02-\/12 15\+:37\+:34 +0100)}}


Common routines for hw that uses the standard serial port driver.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{group__driver__api_ga2cad04de039521ac1b0c14c42ba1b43c}{tty\+\_\+reset} (int fd)
\item 
int \hyperlink{group__driver__api_gafcab1b890be0e097640ff31f866ab94c}{tty\+\_\+setrtscts} (int fd, int enable)
\item 
int \hyperlink{group__driver__api_ga7c9acb60305177b4498553782eb4fa3c}{tty\+\_\+setdtr} (int fd, int enable)
\item 
int \hyperlink{group__driver__api_ga44b60aca788c92e31b61298f534d2b2c}{tty\+\_\+setbaud} (int fd, int baud)
\item 
int \hyperlink{group__driver__api_gaffeab51b57e1e8eaca6fc502f99e6c29}{tty\+\_\+setcsize} (int fd, int csize)
\item 
int \hyperlink{group__driver__api_gaa2128e719d5174e1210fcc8c532c82bd}{tty\+\_\+create\+\_\+lock} (const char $\ast$name)
\item 
int \hyperlink{group__driver__api_ga94d6aff1542d08fcf32b5acdc735090e}{tty\+\_\+delete\+\_\+lock} (void)
\item 
int \hyperlink{group__driver__api_ga17fb600e510ec6919659e7fab74c3de6}{tty\+\_\+set} (int fd, int rts, int dtr)
\item 
int \hyperlink{group__driver__api_gaa680ad6c63aaac541fc85d61b73a46d1}{tty\+\_\+clear} (int fd, int rts, int dtr)
\item 
int \hyperlink{group__driver__api_ga03233443b447b2de3a81b77a317663c4}{tty\+\_\+write} (int fd, char byte)
\item 
int \hyperlink{group__driver__api_ga76ea8c360d88f108399c5926b3bff16d}{tty\+\_\+read} (int fd, char $\ast$byte)
\item 
int \hyperlink{group__driver__api_ga855e6cb4247f8359643a184a912d754d}{tty\+\_\+write\+\_\+echo} (int fd, char byte)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Common routines for hw that uses the standard serial port driver. 

\begin{DoxyAuthor}{Author}
Christoph Bartelmus
\end{DoxyAuthor}
Here is create\+\_\+lock and delete\+\_\+lock which manages the legacy, serial lock files. The other functions are wrappers for the termio(7) I\+O\+C\+T\+L commands. 