home *** CD-ROM | disk | FTP | other *** search
/ RISCWORLD 7 / RISCWORLD_VOL7.iso / Software / Issue2 / SDL.ARC / !unixlib / source / clib / h / sgtty < prev    next >
Encoding:
Text File  |  2004-09-05  |  736 b   |  31 lines

  1. /****************************************************************************
  2.  *
  3.  * $Source: /usr/local/cvsroot/gccsdk/unixlib/source/clib/sgtty.h,v $
  4.  * $Date: 2002/09/24 21:02:36 $
  5.  * $Revision: 1.3 $
  6.  * $State: Exp $
  7.  * $Author: admin $
  8.  *
  9.  ***************************************************************************/
  10.  
  11. #ifndef __SGTTY_H
  12. #define __SGTTY_H 1
  13.  
  14. #ifndef __UNIXLIB_FEATURES_H
  15. #include <unixlib/features.h>
  16. #endif
  17.  
  18. #include <sys/ioctl.h>
  19.  
  20. __BEGIN_DECLS
  21.  
  22. /* Fill in *PARAMS with terminal parameters associated with FD.  */
  23. extern int gtty (int __fd, struct sgttyb * __params);
  24.  
  25. /* Set the terminal parameters associated with FD to *PARAMS.  */
  26. extern int stty (int __fd, const struct sgttyb *__params);
  27.  
  28. __END_DECLS
  29.  
  30. #endif
  31.