[Lsb-messages] /var/www/bzr/lsb/devel/lsbspec r3982: added TIOCSWINSW (bug 1083)

Mats Wichmann mats at linuxfoundation.org
Fri Jan 24 23:30:33 UTC 2014


------------------------------------------------------------
revno: 3982
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: lsbspec
timestamp: Fri 2014-01-24 16:30:33 -0700
message:
  added TIOCSWINSW (bug 1083)
modified:
  LSB/AMD64/baselib/baselib.sgml
  LSB/AMD64/baselib/libc.sgml
  LSB/IA32/baselib/baselib.sgml
  LSB/IA32/baselib/libc.sgml
  LSB/IA64/baselib/baselib.sgml
  LSB/IA64/baselib/libc.sgml
  LSB/PPC32/baselib/baselib.sgml
  LSB/PPC32/baselib/libc.sgml
  LSB/PPC64/baselib/baselib.sgml
  LSB/PPC64/baselib/libc.sgml
  LSB/S390/baselib/baselib.sgml
  LSB/S390/baselib/libc.sgml
  LSB/S390X/baselib/baselib.sgml
  LSB/S390X/baselib/libc.sgml
  LSB/generic/baselib/baselib.sgml
  LSB/generic/baselib/ttyio.sgml
-------------- next part --------------
=== modified file 'LSB/AMD64/baselib/baselib.sgml'
--- a/LSB/AMD64/baselib/baselib.sgml	2014-01-17 18:38:17 +0000
+++ b/LSB/AMD64/baselib/baselib.sgml	2014-01-24 23:30:33 +0000
@@ -3309,6 +3309,7 @@
 <SCREEN>
 
 #define TIOCGWINSZ	0x5413
+#define TIOCSWINSZ	0x5414
 #define FIONREAD	0x541B
 #define TIOCNOTTY	21538
 </SCREEN>

=== modified file 'LSB/AMD64/baselib/libc.sgml'
--- a/LSB/AMD64/baselib/libc.sgml	2014-01-17 18:38:17 +0000
+++ b/LSB/AMD64/baselib/libc.sgml	2014-01-24 23:30:33 +0000
@@ -3282,6 +3282,7 @@
 <SCREEN>
 
 #define TIOCGWINSZ	0x5413
+#define TIOCSWINSZ	0x5414
 #define FIONREAD	0x541B
 #define TIOCNOTTY	21538
 </SCREEN>

=== modified file 'LSB/IA32/baselib/baselib.sgml'
--- a/LSB/IA32/baselib/baselib.sgml	2014-01-17 18:38:17 +0000
+++ b/LSB/IA32/baselib/baselib.sgml	2014-01-24 23:30:33 +0000
@@ -3321,6 +3321,7 @@
 <SCREEN>
 
 #define TIOCGWINSZ	0x5413
+#define TIOCSWINSZ	0x5414
 #define FIONREAD	0x541B
 #define TIOCNOTTY	0x5422
 </SCREEN>

=== modified file 'LSB/IA32/baselib/libc.sgml'
--- a/LSB/IA32/baselib/libc.sgml	2014-01-17 18:38:17 +0000
+++ b/LSB/IA32/baselib/libc.sgml	2014-01-24 23:30:33 +0000
@@ -3295,6 +3295,7 @@
 <SCREEN>
 
 #define TIOCGWINSZ	0x5413
+#define TIOCSWINSZ	0x5414
 #define FIONREAD	0x541B
 #define TIOCNOTTY	0x5422
 </SCREEN>

=== modified file 'LSB/IA64/baselib/baselib.sgml'
--- a/LSB/IA64/baselib/baselib.sgml	2014-01-17 18:38:17 +0000
+++ b/LSB/IA64/baselib/baselib.sgml	2014-01-24 23:30:33 +0000
@@ -3289,6 +3289,7 @@
 <SCREEN>
 
 #define TIOCGWINSZ	0x5413
+#define TIOCSWINSZ	0x5414
 #define FIONREAD	0x541B
 #define TIOCNOTTY	0x5422
 </SCREEN>

=== modified file 'LSB/IA64/baselib/libc.sgml'
--- a/LSB/IA64/baselib/libc.sgml	2014-01-17 18:38:17 +0000
+++ b/LSB/IA64/baselib/libc.sgml	2014-01-24 23:30:33 +0000
@@ -3261,6 +3261,7 @@
 <SCREEN>
 
 #define TIOCGWINSZ	0x5413
+#define TIOCSWINSZ	0x5414
 #define FIONREAD	0x541B
 #define TIOCNOTTY	0x5422
 </SCREEN>

=== modified file 'LSB/PPC32/baselib/baselib.sgml'
--- a/LSB/PPC32/baselib/baselib.sgml	2013-09-06 16:45:53 +0000
+++ b/LSB/PPC32/baselib/baselib.sgml	2014-01-24 23:30:33 +0000
@@ -3392,6 +3392,7 @@
 
 #define TIOCGWINSZ	0x40087468
 #define TIOCNOTTY	0x5422
+#define TIOCSWINSZ	0x80087467
 #define FIONREAD	1074030207
 </SCREEN>
 </SECT2>

=== modified file 'LSB/PPC32/baselib/libc.sgml'
--- a/LSB/PPC32/baselib/libc.sgml	2013-09-06 16:45:53 +0000
+++ b/LSB/PPC32/baselib/libc.sgml	2014-01-24 23:30:33 +0000
@@ -3364,6 +3364,7 @@
 
 #define TIOCGWINSZ	0x40087468
 #define TIOCNOTTY	0x5422
+#define TIOCSWINSZ	0x80087467
 #define FIONREAD	1074030207
 </SCREEN>
 </SECT2>

=== modified file 'LSB/PPC64/baselib/baselib.sgml'
--- a/LSB/PPC64/baselib/baselib.sgml	2013-09-06 16:45:53 +0000
+++ b/LSB/PPC64/baselib/baselib.sgml	2014-01-24 23:30:33 +0000
@@ -3393,6 +3393,7 @@
 <SCREEN>
 
 #define TIOCGWINSZ	0x40087468
+#define TIOCSWINSZ	0x80087467
 #define FIONREAD	1074030207
 #define TIOCNOTTY	21538
 </SCREEN>

=== modified file 'LSB/PPC64/baselib/libc.sgml'
--- a/LSB/PPC64/baselib/libc.sgml	2013-09-06 16:45:53 +0000
+++ b/LSB/PPC64/baselib/libc.sgml	2014-01-24 23:30:33 +0000
@@ -3365,6 +3365,7 @@
 <SCREEN>
 
 #define TIOCGWINSZ	0x40087468
+#define TIOCSWINSZ	0x80087467
 #define FIONREAD	1074030207
 #define TIOCNOTTY	21538
 </SCREEN>

=== modified file 'LSB/S390/baselib/baselib.sgml'
--- a/LSB/S390/baselib/baselib.sgml	2013-09-06 16:45:53 +0000
+++ b/LSB/S390/baselib/baselib.sgml	2014-01-24 23:30:33 +0000
@@ -3395,6 +3395,7 @@
 <SCREEN>
 
 #define TIOCGWINSZ	0x5413
+#define TIOCSWINSZ	0x5414
 #define FIONREAD	0x541B
 #define TIOCNOTTY	21538
 </SCREEN>

=== modified file 'LSB/S390/baselib/libc.sgml'
--- a/LSB/S390/baselib/libc.sgml	2013-09-06 16:45:53 +0000
+++ b/LSB/S390/baselib/libc.sgml	2014-01-24 23:30:33 +0000
@@ -3367,6 +3367,7 @@
 <SCREEN>
 
 #define TIOCGWINSZ	0x5413
+#define TIOCSWINSZ	0x5414
 #define FIONREAD	0x541B
 #define TIOCNOTTY	21538
 </SCREEN>

=== modified file 'LSB/S390X/baselib/baselib.sgml'
--- a/LSB/S390X/baselib/baselib.sgml	2013-09-06 16:45:53 +0000
+++ b/LSB/S390X/baselib/baselib.sgml	2014-01-24 23:30:33 +0000
@@ -3395,6 +3395,7 @@
 <SCREEN>
 
 #define TIOCGWINSZ	0x5413
+#define TIOCSWINSZ	0x5414
 #define FIONREAD	21531
 #define TIOCNOTTY	21538
 </SCREEN>

=== modified file 'LSB/S390X/baselib/libc.sgml'
--- a/LSB/S390X/baselib/libc.sgml	2013-09-06 16:45:53 +0000
+++ b/LSB/S390X/baselib/libc.sgml	2014-01-24 23:30:33 +0000
@@ -3367,6 +3367,7 @@
 <SCREEN>
 
 #define TIOCGWINSZ	0x5413
+#define TIOCSWINSZ	0x5414
 #define FIONREAD	21531
 #define TIOCNOTTY	21538
 </SCREEN>

=== modified file 'LSB/generic/baselib/baselib.sgml'
--- a/LSB/generic/baselib/baselib.sgml	2014-01-24 21:32:54 +0000
+++ b/LSB/generic/baselib/baselib.sgml	2014-01-24 23:30:33 +0000
@@ -25852,8 +25852,8 @@
 <para>
 The following <function>ioctl</function>s are provided:
 </para>
+
 <variablelist>
-
 <varlistentry>
 <term>
 <symbol>TIOCGWINSZ</symbol>
@@ -25861,11 +25861,11 @@
 <listitem>
 <para>
 Get the size attributes of the terminal or pseudo-terminal identified by
-<parameter>fd</parameter>. On entry, <parameter>argp</parameter> shall reference
-a <structname>winsize</structname> structure.
+<parameter>fd</parameter>. On entry, <parameter>argp</parameter> shall 
+reference a <structname>winsize</structname> structure.
 On return, the structure will have 
-<structfield>ws_row</structfield> set to the number of rows of text (i.e. lines of text)
-that can be viewed on the device, and
+<structfield>ws_row</structfield> set to the number of rows of text 
+(i.e. lines of text) that can be viewed on the device, and
 <structfield>ws_col</structfield> set to the number of columns (i.e. text width).
 <!--
 <structfield>ws_xpixel</structfield> set to the actual width in pixels, and 
@@ -25878,6 +25878,28 @@
 </listitem>
 </varlistentry>
 
+<varlistentry>
+<term>
+<symbol>TIOCSWINSZ</symbol>
+</term>
+<listitem>
+<para>
+Sets the size attributes of the terminal or pseudo-terminal identified by 
+<parameter>fd</parameter>.  On entry, <parameter>argp</parameter> shall
+reference a <structname>winsize</structname> structure.  
+The value of the <structname>winsize</structname> structure's element 
+<structfield>ws_row</structfield> shall be the number of 
+rows of text (i.e. lines of text) that can be viewed on the device, 
+and the element <structfield>ws_col</structfield> shall be
+the number of columns (i.e. text width).  
+Note that this call merely sets the size attributes for the kernel driver, 
+not the window size itself, 
+and is intended to be used to update the kernel driver when the
+window size is changed.
+</para>
+</listitem>
+</varlistentry>
+
 </variablelist>
 
 </refsect1>

=== modified file 'LSB/generic/baselib/ttyio.sgml'
--- a/LSB/generic/baselib/ttyio.sgml	2014-01-24 21:32:54 +0000
+++ b/LSB/generic/baselib/ttyio.sgml	2014-01-24 23:30:33 +0000
@@ -44,8 +44,8 @@
 <para>
 The following <function>ioctl</function>s are provided:
 </para>
+
 <variablelist>
-
 <varlistentry>
 <term>
 <symbol>TIOCGWINSZ</symbol>
@@ -53,11 +53,11 @@
 <listitem>
 <para>
 Get the size attributes of the terminal or pseudo-terminal identified by
-<parameter>fd</parameter>. On entry, <parameter>argp</parameter> shall reference
-a <structname>winsize</structname> structure.
+<parameter>fd</parameter>. On entry, <parameter>argp</parameter> shall 
+reference a <structname>winsize</structname> structure.
 On return, the structure will have 
-<structfield>ws_row</structfield> set to the number of rows of text (i.e. lines of text)
-that can be viewed on the device, and
+<structfield>ws_row</structfield> set to the number of rows of text 
+(i.e. lines of text) that can be viewed on the device, and
 <structfield>ws_col</structfield> set to the number of columns (i.e. text width).
 <!--
 <structfield>ws_xpixel</structfield> set to the actual width in pixels, and 
@@ -70,6 +70,28 @@
 </listitem>
 </varlistentry>
 
+<varlistentry>
+<term>
+<symbol>TIOCSWINSZ</symbol>
+</term>
+<listitem>
+<para>
+Sets the size attributes of the terminal or pseudo-terminal identified by 
+<parameter>fd</parameter>.  On entry, <parameter>argp</parameter> shall
+reference a <structname>winsize</structname> structure.  
+The value of the <structname>winsize</structname> structure's element 
+<structfield>ws_row</structfield> shall be the number of 
+rows of text (i.e. lines of text) that can be viewed on the device, 
+and the element <structfield>ws_col</structfield> shall be
+the number of columns (i.e. text width).  
+Note that this call merely sets the size attributes for the kernel driver, 
+not the window size itself, 
+and is intended to be used to update the kernel driver when the
+window size is changed.
+</para>
+</listitem>
+</varlistentry>
+
 </variablelist>
 
 </refsect1>



More information about the lsb-messages mailing list