Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- libc - <b>tcgetattr</b> http://www.ousob.com [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
tcgetattr
=========

Syntax
------

     #include <termios.h>
     
     int tcgetattr (int fd, struct termios *termiosp);

Description
-----------

This function gets termios structure from device FD and stores it in
the structure TERMIOSP.  Note that the termios emulation handles
console only.

Return Value
------------

Zero on success, nonzero on failure.

Example
-------

     struct termios termiosbuf;
     int rc = tcgetattr (0, &termiosbuf);


Online resources provided by: http://www.ousob.com --- NG 2 HTML conversion by Dave Pearson