\hypertarget{serial_8c}{}\section{/home/mk/tmp/lirc/lib/serial.c File Reference}
\label{serial_8c}\index{/home/mk/tmp/lirc/lib/serial.\+c(e229353 2016-\/10-\/20 17\+:36\+:59 +0200)@{/home/mk/tmp/lirc/lib/serial.\+c(e229353 2016-\/10-\/20 17\+:36\+:59 +0200)}}


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


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