cvs: phpdoc-es /reference/shmop/functions shmop-read.xml
| From: | Javier Eguiluz | Date: | Fri, 24 Oct 2003 14:25:55 +0000 |
| Subject: | cvs: phpdoc-es /reference/shmop/functions shmop-read.xml | ||
| Groups: | php.doc.es | ||
| Request: | Send a blank email to doc-es+get-357@lists.php.net to get a copy of this message | ||
javi Fri Oct 24 10:25:55 2003 EDT
Modified files:
/phpdoc-es/reference/shmop/functions shmop-read.xml
Log:
Index: phpdoc-es/reference/shmop/functions/shmop-read.xml
diff -u phpdoc-es/reference/shmop/functions/shmop-read.xml:1.1
phpdoc-es/reference/shmop/functions/shmop-read.xml:1.2
--- phpdoc-es/reference/shmop/functions/shmop-read.xml:1.1 Sun Apr 14 20:18:43 2002
+++ phpdoc-es/reference/shmop/functions/shmop-read.xml Fri Oct 24 10:25:55 2003
@@ -1,40 +1,48 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- splitted from ./es/functions/shmop.xml, last change in rev 1.1 -->
-<!-- last change to 'shmop-read' in en/ tree in rev 1.1 -->
- <refentry id="function.shmop_read">
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.2 Maintainer: javi Status: ready -->
+<!-- splitted from ./en/functions/shmop.xml, last change in rev 1.1 -->
+ <refentry id="function.shmop-read">
<refnamediv>
<refname>shmop_read</refname>
- <refpurpose>Read data from shared memory block</refpurpose>
+ <refpurpose>Lee un segmento de memoria compartida</refpurpose>
</refnamediv>
<refsect1>
- <title>Description</title>
- <methodsynopsis>
+ <title>Descripción</title>
+ <methodsynopsi s>
<type>string</type><methodname>shmop_read</methodname>
<methodparam><type>int</type><parameter>shmid</parameter></methodparam>
-
<methodparam><type>int</type><parameter>start</parameter></methodparam>
-
<methodparam><type>int</type><parameter>count</parameter></methodparam>
+
<methodparam><type>int</type><parameter>comienzo</parameter></methodparam>
+
+<methodparam><type>int</type><parameter>posiciones</parameter></methodparam>
</methodsynopsis>
<para>
- <function>shmop_read</function> will read a string from shared memory block.
- </para>
- <para>
- <function>shmop_read</function> takes 3 parameters: shmid, which is the shared
- memory block identifier created by <function>shmop_open</function>, offset from
- which to start reading and count on the number of bytes to read.
+ <function>shmop_read</function> se utiliza para leer datos almacenados en
+un segmento de memoria compartida.
</para>
<para>
+ <function>shmop_read</function> utiliza 3 parámetros: shmid, que es
+el identificador del segmento de memoria compartida devuelto por la
+función <function>shmop_open</function>; comienzo, que es la
+posición desde la que se empezarán a leer los datos del segmento
+de memoria y posiciones, que indica el número de bytes que se
+leerán a partir del comienzo indicado anteriormente.
+ </para>
+ <para>
<example>
- <title>Reading shared memory block</title>
+ <title>Lectura de un segmento de memoria compartida</title>
<programlisting role="php">
-<?php
+<![CDATA[
+<?php
$shm_data = shmop_read($shm_id, 0, 50);
-?>
+?>
+]]>
</programlisting>
</example>
</para>
<para>
- This example will read 50 bytes from shared memory block and place the data
- inside <literal>$shm_data</literal>.
+ En el ejemplo anterior se leen los 50 primeros bytes del segmento de
+memoria y se almacenan los datos en la variable <literal>$shm_data</literal>.
</para>
</refsect1>
</refentry>