[Lsb-messages] /var/www/bzr/lsb/devel/lsbspec r3981: before changing ttyio.sgml, do the xml-ish tag lowecasing
Mats Wichmann
mats at linuxfoundation.org
Fri Jan 24 21:32:54 UTC 2014
------------------------------------------------------------
revno: 3981
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: lsbspec
timestamp: Fri 2014-01-24 14:32:54 -0700
message:
before changing ttyio.sgml, do the xml-ish tag lowecasing
modified:
LSB/generic/baselib/baselib.sgml
LSB/generic/baselib/ttyio.sgml
-------------- next part --------------
=== modified file 'LSB/generic/baselib/baselib.sgml'
--- a/LSB/generic/baselib/baselib.sgml 2014-01-10 18:56:26 +0000
+++ b/LSB/generic/baselib/baselib.sgml 2014-01-24 21:32:54 +0000
@@ -25806,66 +25806,63 @@
</REFENTRY>
-<REFENTRY ID="baselib-ttyio-2"> <REFMETA>
-<REFENTRYTITLE>ttyio</REFENTRYTITLE>
-<REFMISCINFO>Base Libraries</REFMISCINFO>
-</REFMETA>
-<REFNAMEDIV>
-<REFNAME>ttyio
-</REFNAME>
-<REFPURPOSE>
-tty ioctl commands
-</REFPURPOSE>
-</REFNAMEDIV>
+<refentry id="baselib-ttyio-2">
+<refmeta>
+<refentrytitle>ttyio</refentrytitle>
+<refmiscinfo>Base Libraries</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ttyio</refname>
+<refpurpose>tty ioctl commands</refpurpose>
+</refnamediv>
-<REFSYNOPSISDIV>
-<REFSYNOPSISDIVINFO>
-<DATE>07 Dec 2004</DATE>
-</REFSYNOPSISDIVINFO>
-<FUNCSYNOPSIS>
-<FUNCSYNOPSISINFO>
+<refsynopsisdiv>
+<refsynopsisdivinfo>
+<date>07 Dec 2004</date>
+</refsynopsisdivinfo>
+<funcsynopsis>
+<funcsynopsisinfo>
#include <sys/ioctl.h>
#include <fcntl.h>
-</FUNCSYNOPSISINFO>
-<FUNCPROTOTYPE>
- <FUNCDEF>int
- <FUNCTION>ioctl</FUNCTION></FUNCDEF>
- <PARAMDEF>int
- <PARAMETER><REPLACEABLE>fd</REPLACEABLE></PARAMETER></PARAMDEF>
- <PARAMDEF>unsigned long
- <PARAMETER><REPLACEABLE>request</REPLACEABLE></PARAMETER></PARAMDEF>
- <PARAMDEF>int *
- <PARAMETER><REPLACEABLE>argp</REPLACEABLE></PARAMETER></PARAMDEF>
-</FUNCPROTOTYPE>
-</FUNCSYNOPSIS>
-</REFSYNOPSISDIV>
+</funcsynopsisinfo>
+<funcprototype>
+ <funcdef>int
+ <function>ioctl</function></funcdef>
+ <paramdef>int
+ <parameter><replaceable>fd</replaceable></parameter></paramdef>
+ <paramdef>unsigned long
+ <parameter><replaceable>request</replaceable></parameter></paramdef>
+ <paramdef>int *
+ <parameter><replaceable>argp</replaceable></parameter></paramdef>
+</funcprototype>
+</funcsynopsis>
+</refsynopsisdiv>
-<REFSECT1>
-<REFSECT1INFO>
-<DATE>14 July 2004</DATE>
-</REFSECT1INFO>
-<TITLE>Description
-</TITLE>
-<PARA>
-Tty <EMPHASIS>ioctl</EMPHASIS> commands are a subset of the
-<FUNCTION>ioctl</FUNCTION> calls, which can perform a variety of
-functions on tty devices. <PARAMETER>fd</PARAMETER> shall be
+<refsect1>
+<refsect1info>
+<date>14 July 2004</date>
+</refsect1info>
+<title>Description</title>
+<para>
+Tty <emphasis>ioctl</emphasis> commands are a subset of the
+<function>ioctl</function> calls, which can perform a variety of
+functions on tty devices. <parameter>fd</parameter> shall be
an open file descriptor referring to a terminal device.
-</PARA>
-<PARA>
-The following <FUNCTION>ioctl</FUNCTION>s are provided:
-</PARA>
-<VARIABLELIST>
+</para>
+<para>
+The following <function>ioctl</function>s are provided:
+</para>
+<variablelist>
-<VARLISTENTRY>
-<TERM>
-<SYMBOL>TIOCGWINSZ</SYMBOL>
-</TERM>
-<LISTITEM>
-<PARA>
+<varlistentry>
+<term>
+<symbol>TIOCGWINSZ</symbol>
+</term>
+<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
@@ -25874,68 +25871,61 @@
<structfield>ws_xpixel</structfield> set to the actual width in pixels, and
<structfield>ws_ypixel</structfield> the actual height in pixels.
-->
-<NOTE><PARA>The number of columns stored in <structfield>ws_col</structfield>
+<note><para>The number of columns stored in <structfield>ws_col</structfield>
assumes that the terminal device is using a mono-spaced font.
-</PARA></NOTE>
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-</VARIABLELIST>
-
-</REFSECT1>
-
-<REFSECT1>
-<TITLE>Return Value
-</TITLE>
-<PARA>
-On success, <RETURNVALUE>0</RETURNVALUE> is returned.
-On error, <RETURNVALUE>-1</RETURNVALUE> is returned and
-the global variable <VARNAME>errno</VARNAME> is set appropriately.
-</PARA>
-</REFSECT1>
-
-<REFSECT1>
-<TITLE>Errors
-</TITLE>
-<VARIABLELIST>
-<VARLISTENTRY>
-<TERM>
-EBADF
-</TERM>
-<LISTITEM>
-<PARA>
-<PARAMETER>fd</PARAMETER> is not a valid descriptor.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-<VARLISTENTRY>
-<TERM>
-EFAULT
-</TERM>
-<LISTITEM>
-<PARA>
-<PARAMETER>argp</PARAMETER> references an inaccessible memory area.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-<VARLISTENTRY>
-<TERM>
-EINVAL
-</TERM>
-<LISTITEM>
-<PARA>
-<PARAMETER>request</PARAMETER> and <PARAMETER>argp</PARAMETER> are not valid.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-</VARIABLELIST>
-</REFSECT1>
-
-</REFENTRY>
+</para></note>
+</para>
+</listitem>
+</varlistentry>
+
+</variablelist>
+
+</refsect1>
+
+<refsect1>
+<title>Return Value</title>
+<para>
+On success, <returnvalue>0</returnvalue> is returned.
+On error, <returnvalue>-1</returnvalue> is returned and
+the global variable <varname>errno</varname> is set appropriately.
+</para>
+</refsect1>
+
+<refsect1>
+<title>Errors
+</title>
+<variablelist>
+<varlistentry>
+<term><errorname>EBADF</errorname></term>
+<listitem>
+<para>
+<parameter>fd</parameter> is not a valid descriptor.
+</para>
+</listitem>
+</varlistentry>
+
+<varlistentry>
+<term><errorname>EFAULT</errorname></term>
+<listitem>
+<para>
+<parameter>argp</parameter> references an inaccessible memory area.
+</para>
+</listitem>
+</varlistentry>
+
+<varlistentry>
+<term><errorname>EINVAL</errorname></term>
+<listitem>
+<para>
+<parameter>request</parameter> and <parameter>argp</parameter> are not valid.
+</para>
+</listitem>
+</varlistentry>
+
+</variablelist>
+</refsect1>
+
+</refentry>
=== modified file 'LSB/generic/baselib/ttyio.sgml'
--- a/LSB/generic/baselib/ttyio.sgml 2005-06-27 17:50:34 +0000
+++ b/LSB/generic/baselib/ttyio.sgml 2014-01-24 21:32:54 +0000
@@ -1,63 +1,60 @@
-<REFENTRY ID="baselib-ttyio-2"> <REFMETA>
-<REFENTRYTITLE>ttyio</REFENTRYTITLE>
-<REFMISCINFO>Base Libraries</REFMISCINFO>
-</REFMETA>
-<REFNAMEDIV>
-<REFNAME>ttyio
-</REFNAME>
-<REFPURPOSE>
-tty ioctl commands
-</REFPURPOSE>
-</REFNAMEDIV>
+<refentry id="baselib-ttyio-2">
+<refmeta>
+<refentrytitle>ttyio</refentrytitle>
+<refmiscinfo>Base Libraries</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ttyio</refname>
+<refpurpose>tty ioctl commands</refpurpose>
+</refnamediv>
-<REFSYNOPSISDIV>
-<REFSYNOPSISDIVINFO>
-<DATE>07 Dec 2004</DATE>
-</REFSYNOPSISDIVINFO>
-<FUNCSYNOPSIS>
-<FUNCSYNOPSISINFO>
+<refsynopsisdiv>
+<refsynopsisdivinfo>
+<date>07 Dec 2004</date>
+</refsynopsisdivinfo>
+<funcsynopsis>
+<funcsynopsisinfo>
#include <sys/ioctl.h>
#include <fcntl.h>
-</FUNCSYNOPSISINFO>
-<FUNCPROTOTYPE>
- <FUNCDEF>int
- <FUNCTION>ioctl</FUNCTION></FUNCDEF>
- <PARAMDEF>int
- <PARAMETER><REPLACEABLE>fd</REPLACEABLE></PARAMETER></PARAMDEF>
- <PARAMDEF>unsigned long
- <PARAMETER><REPLACEABLE>request</REPLACEABLE></PARAMETER></PARAMDEF>
- <PARAMDEF>int *
- <PARAMETER><REPLACEABLE>argp</REPLACEABLE></PARAMETER></PARAMDEF>
-</FUNCPROTOTYPE>
-</FUNCSYNOPSIS>
-</REFSYNOPSISDIV>
+</funcsynopsisinfo>
+<funcprototype>
+ <funcdef>int
+ <function>ioctl</function></funcdef>
+ <paramdef>int
+ <parameter><replaceable>fd</replaceable></parameter></paramdef>
+ <paramdef>unsigned long
+ <parameter><replaceable>request</replaceable></parameter></paramdef>
+ <paramdef>int *
+ <parameter><replaceable>argp</replaceable></parameter></paramdef>
+</funcprototype>
+</funcsynopsis>
+</refsynopsisdiv>
-<REFSECT1>
-<REFSECT1INFO>
-<DATE>14 July 2004</DATE>
-</REFSECT1INFO>
-<TITLE>Description
-</TITLE>
-<PARA>
-Tty <EMPHASIS>ioctl</EMPHASIS> commands are a subset of the
-<FUNCTION>ioctl</FUNCTION> calls, which can perform a variety of
-functions on tty devices. <PARAMETER>fd</PARAMETER> shall be
+<refsect1>
+<refsect1info>
+<date>14 July 2004</date>
+</refsect1info>
+<title>Description</title>
+<para>
+Tty <emphasis>ioctl</emphasis> commands are a subset of the
+<function>ioctl</function> calls, which can perform a variety of
+functions on tty devices. <parameter>fd</parameter> shall be
an open file descriptor referring to a terminal device.
-</PARA>
-<PARA>
-The following <FUNCTION>ioctl</FUNCTION>s are provided:
-</PARA>
-<VARIABLELIST>
+</para>
+<para>
+The following <function>ioctl</function>s are provided:
+</para>
+<variablelist>
-<VARLISTENTRY>
-<TERM>
-<SYMBOL>TIOCGWINSZ</SYMBOL>
-</TERM>
-<LISTITEM>
-<PARA>
+<varlistentry>
+<term>
+<symbol>TIOCGWINSZ</symbol>
+</term>
+<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
@@ -66,65 +63,58 @@
<structfield>ws_xpixel</structfield> set to the actual width in pixels, and
<structfield>ws_ypixel</structfield> the actual height in pixels.
-->
-<NOTE><PARA>The number of columns stored in <structfield>ws_col</structfield>
+<note><para>The number of columns stored in <structfield>ws_col</structfield>
assumes that the terminal device is using a mono-spaced font.
-</PARA></NOTE>
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-</VARIABLELIST>
-
-</REFSECT1>
-
-<REFSECT1>
-<TITLE>Return Value
-</TITLE>
-<PARA>
-On success, <RETURNVALUE>0</RETURNVALUE> is returned.
-On error, <RETURNVALUE>-1</RETURNVALUE> is returned and
-the global variable <VARNAME>errno</VARNAME> is set appropriately.
-</PARA>
-</REFSECT1>
-
-<REFSECT1>
-<TITLE>Errors
-</TITLE>
-<VARIABLELIST>
-<VARLISTENTRY>
-<TERM>
-EBADF
-</TERM>
-<LISTITEM>
-<PARA>
-<PARAMETER>fd</PARAMETER> is not a valid descriptor.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-<VARLISTENTRY>
-<TERM>
-EFAULT
-</TERM>
-<LISTITEM>
-<PARA>
-<PARAMETER>argp</PARAMETER> references an inaccessible memory area.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-<VARLISTENTRY>
-<TERM>
-EINVAL
-</TERM>
-<LISTITEM>
-<PARA>
-<PARAMETER>request</PARAMETER> and <PARAMETER>argp</PARAMETER> are not valid.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-</VARIABLELIST>
-</REFSECT1>
-
-</REFENTRY>
+</para></note>
+</para>
+</listitem>
+</varlistentry>
+
+</variablelist>
+
+</refsect1>
+
+<refsect1>
+<title>Return Value</title>
+<para>
+On success, <returnvalue>0</returnvalue> is returned.
+On error, <returnvalue>-1</returnvalue> is returned and
+the global variable <varname>errno</varname> is set appropriately.
+</para>
+</refsect1>
+
+<refsect1>
+<title>Errors
+</title>
+<variablelist>
+<varlistentry>
+<term><errorname>EBADF</errorname></term>
+<listitem>
+<para>
+<parameter>fd</parameter> is not a valid descriptor.
+</para>
+</listitem>
+</varlistentry>
+
+<varlistentry>
+<term><errorname>EFAULT</errorname></term>
+<listitem>
+<para>
+<parameter>argp</parameter> references an inaccessible memory area.
+</para>
+</listitem>
+</varlistentry>
+
+<varlistentry>
+<term><errorname>EINVAL</errorname></term>
+<listitem>
+<para>
+<parameter>request</parameter> and <parameter>argp</parameter> are not valid.
+</para>
+</listitem>
+</varlistentry>
+
+</variablelist>
+</refsect1>
+
+</refentry>
More information about the lsb-messages
mailing list