git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@133621 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Friedhelm Betz 2003-06-29 16:36:32 +00:00
parent fc9c5fe85b
commit 9c6bc6f9a8
2 changed files with 11 additions and 14 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/dio.xml, last change in rev 1.1 -->
<refentry id="function.dio-fcntl">
<refnamediv>
@ -84,9 +84,9 @@
</listitem>
<listitem>
<para>
F_SETFL - Sets the file descriptors flags to the value specified by
<parameter>arg</parameter>, Which can be O_APPEND,O_NONBLOCK or
O_ASYNC . To use O_ASYNC you will need to use the pcntl extension.
F_SETFL - Sets the file descriptors flags to the value specified by
<parameter>arg</parameter>, Which can be O_APPEND,O_NONBLOCK or
O_ASYNC. To use O_ASYNC you will need to use the pcntl extension.
</para>
</listitem>
</itemizedlist>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/dio.xml, last change in rev 1.1 -->
<refentry id="function.dio-tcsetattr">
<refnamediv>
@ -22,32 +22,29 @@
<itemizedlist>
<listitem>
<para>
'baud' - baud rate of the port - can be 38400,19200,9600,4800,2400,1800,1200,600,300,200,150,134,110,75 or 50,
default value is 9600
'baud' - baud rate of the port - can be 38400,19200,9600,4800,2400,1800,
1200,600,300,200,150,134,110,75 or 50, default value is 9600.
</para>
</listitem>
<listitem>
<para>
'bits' - data bits - can be 8,7,6 or 5
default value is 8
'bits' - data bits - can be 8,7,6 or 5. Default value is 8.
</para>
</listitem>
<listitem>
<para>
'stop' - stop bits - can be 1 or 2
default value is 1
'stop' - stop bits - can be 1 or 2. Default value is 1.
</para>
</listitem>
<listitem>
<para>
'parity' - can be 0,1 or 2
default value is 0
'parity' - can be 0,1 or 2. Default value is 0.
</para>
</listitem>
</itemizedlist>
<example>
<title>
Setting the baud rate on a serial port
Setting the baud rate on a serial port
</title>
<programlisting role="php">
<![CDATA[