]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/Include/sys/termios.h
StdLib: Clarify and improve comments.
[mirror_edk2.git] / StdLib / Include / sys / termios.h
index 671a5c06c067ebda7b903bae0840748be4d1608d..75886065b7744c3b1d9f9dcfbf54e394d22e2956 100644 (file)
@@ -2,6 +2,7 @@
     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
@@ -288,7 +289,7 @@ int     cfsetospeed (struct termios *, speed_t);
                     * 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
@@ -314,7 +315,7 @@ int     tcgetattr   (int, struct termios *);
                     * 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
@@ -328,7 +329,7 @@ int     tcsetattr   (int, int, const struct termios *);
                     * 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
@@ -353,7 +354,7 @@ int     tcdrain     (int);
                     * 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
@@ -375,7 +376,7 @@ int     tcflow      (int, int);
                     * 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