Macros and declarations for terminal oriented ioctls and\r
I/O discipline.\r
\r
+ Copyright (c) 2016, Daryl McDaniel. All rights reserved.<BR>\r
Copyright (c) 2012 - 2014, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials are licensed and made available under\r
the terms and conditions of the BSD License that accompanies this distribution.\r
* EBADF - The fd argument is not a valid file descriptor.\r
* ENOTTY - The file associated with fd is not an interactive IO device.\r
**/\r
-int tcgetattr (int, struct termios *);\r
+int tcgetattr (int fd, struct termios *pTermios);\r
\r
/** Set the parameters associated with an interactive IO device.\r
\r
* EBADF - The fd argument is not a valid file descriptor.\r
* ENOTTY - The file associated with fd is not an interactive IO device.\r
**/\r
-int tcsetattr (int, int, const struct termios *);\r
+int tcsetattr (int fd, int OptAct, const struct termios *pTermios);\r
\r
/** Transmit pending output.\r
\r
* EINTR - A signal interrupted tcdrain().\r
* ENOTSUP - This function is not supported.\r
**/\r
-int tcdrain (int);\r
+int tcdrain (int fd);\r
\r
/** Suspend or restart the transmission or reception of data.\r
\r
* EINVAL - The Action argument is not a supported value.\r
* ENOTSUP - This function is not supported.\r
**/\r
-int tcflow (int, int);\r
+int tcflow (int fd, int Action);\r
\r
/** Discard non-transmitted output data, non-read input data, or both.\r
\r
* EINVAL - The QueueSelector argument is not a supported value.\r
* ENOTSUP - This function is not supported.\r
**/\r
-int tcflush (int, int);\r
+int tcflush (int fd, int QueueSelector);\r
\r
//int tcsendbreak (int, int);\r
//pid_t tcgetsid (int);\r