tags 354308 fixed-upstream
thanks

Nowadays, there is text in the man page that covers
this point (see below).  The changes went into upstream in
man-pages-3.04, released: 2008-07-15.

Perhaps this should be closed now?

Cheers,

Michael

=====
commit cba5091d0298f50086016466b591801f319e418c
Author: Michael Kerrisk <[EMAIL PROTECTED]>
Date:   Tue Jul 15 12:07:41 2008 +0000

    The features in the "Get and Set Window Size" subsection
    require the inclusion of <sys/ioctl.h>.

=====

   Get and Set Window Size
       Window  sizes are kept in the kernel, but not used by the
       kernel (except in the case of virtual consoles, where the
       kernel  will  update the window size when the size of the
       virtual console changes, for example, by  loading  a  new
       font).

       The  following  constants  and  structure  are defined in
       <sys/ioctl.h>.

       TIOCGWINSZ     struct winsize *argp
              Get window size.

       TIOCSWINSZ     const struct winsize *argp
              Set window size.

       The struct used by these ioctls is defined as

           struct winsize {
               unsigned short ws_row;
               unsigned short ws_col;
               unsigned short ws_xpixel;   /* unused */
               unsigned short ws_ypixel;   /* unused */
           };





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to