home *** CD-ROM | disk | FTP | other *** search
/ PC Extra Super CD 1998 January / PCPLUS131.iso / DJGPP / V2 / DJLSR201.ZIP / src / libc / posix / termios / tcsetatr.txh < prev    next >
Encoding:
Text File  |  1996-09-08  |  503 b   |  27 lines

  1. @node tcsetattr, termios
  2. @subheading Syntax
  3.  
  4. @example
  5. #include <termios.h>
  6.  
  7. int tcsetattr (int fd, int action, const struct termios *termiosp);
  8. @end example
  9.  
  10. @subheading Description
  11.  
  12. This function sets termios structure for device @var{fd} from the
  13. structure @var{termiosp}.  Note that the termios emulation handles
  14. console only.
  15.  
  16. @subheading Return Value
  17.  
  18. Zero on success, nonzero on failure.
  19.  
  20. @subheading Example
  21.  
  22. @example
  23. tcsetattr (0, TCSANOW, &termiosbuf);
  24. @end example
  25.  
  26.  
  27.