home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / emacs-19.28-src.tgz / tar.out / fsf / emacs / unixlib / include / sys / termios.h < prev    next >
C/C++ Source or Header  |  1996-09-28  |  386b  |  16 lines

  1. #ifndef _TERMIOS_H
  2. #define _TERMIOS_H
  3.  
  4. struct winsize {
  5.   unsigned short ws_row;    /* rows, in characters */
  6.   unsigned short ws_col;    /* columns, in characters */
  7.   unsigned short ws_xpixel;    /* horizontal size, pixels - not used */
  8.   unsigned short ws_ypixel;    /* vertical size, pixels - not used */
  9. };
  10.  
  11. #define _TERMIO_IOCTL_BASE 1024
  12.  
  13. #define TIOCGWINSZ (_TERMIO_IOCTL_BASE + 0)
  14.  
  15. #endif
  16.