\hypertarget{serial_8c}{}\section{/home/mk/tmp/lirc/lib/serial.c File Reference}
\label{serial_8c}\index{/home/mk/tmp/lirc/lib/serial.\+c(4325a39 2015-\/08-\/01 10\+:47\+:12 +0200)@{/home/mk/tmp/lirc/lib/serial.\+c(4325a39 2015-\/08-\/01 10\+:47\+:12 +0200)}}


Implements \hyperlink{serial_8h}{serial.\+h}.  


{\ttfamily \#include $<$limits.\+h$>$}\\*
{\ttfamily \#include $<$poll.\+h$>$}\\*
{\ttfamily \#include $<$stdio.\+h$>$}\\*
{\ttfamily \#include $<$stdlib.\+h$>$}\\*
{\ttfamily \#include $<$termios.\+h$>$}\\*
{\ttfamily \#include $<$string.\+h$>$}\\*
{\ttfamily \#include $<$fcntl.\+h$>$}\\*
{\ttfamily \#include $<$errno.\+h$>$}\\*
{\ttfamily \#include $<$dirent.\+h$>$}\\*
{\ttfamily \#include $<$signal.\+h$>$}\\*
{\ttfamily \#include $<$unistd.\+h$>$}\\*
{\ttfamily \#include $<$sys/types.\+h$>$}\\*
{\ttfamily \#include $<$sys/stat.\+h$>$}\\*
{\ttfamily \#include $<$sys/ioctl.\+h$>$}\\*
{\ttfamily \#include \char`\"{}lirc/lirc\+\_\+log.\+h\char`\"{}}\\*
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\hypertarget{serial_8c_aa536dc5302dda3a71a0df07a5fa46d5a}{}\#define {\bfseries L\+I\+R\+C\+\_\+\+L\+O\+C\+K\+D\+I\+R}~\char`\"{}/var/lock/lockdev\char`\"{}\label{serial_8c_aa536dc5302dda3a71a0df07a5fa46d5a}

\end{DoxyCompactItemize}
\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}
Implements \hyperlink{serial_8h}{serial.\+h}. 

\begin{DoxyAuthor}{Author}
Christoph Bartelmus 
\end{DoxyAuthor}
