cvs: phpdoc-es /reference/shmop/functions shmop-write.xml
| From: | Javier Eguiluz | Date: | Fri, 24 Oct 2003 14:26:51 +0000 |
| Subject: | cvs: phpdoc-es /reference/shmop/functions shmop-write.xml | ||
| Groups: | php.doc.es | ||
| Request: | Send a blank email to doc-es+get-359@lists.php.net to get a copy of this message | ||
javi Fri Oct 24 10:26:51 2003 EDT
Modified files:
/phpdoc-es/reference/shmop/functions shmop-write.xml
Log:
Index: phpdoc-es/reference/shmop/functions/shmop-write.xml
diff -u phpdoc-es/reference/shmop/functions/shmop-write.xml:1.1
phpdoc-es/reference/shmop/functions/shmop-write.xml:1.2
--- phpdoc-es/reference/shmop/functions/shmop-write.xml:1.1 Sun Apr 14 20:18:43 2002
+++ phpdoc-es/reference/shmop/functions/shmop-write.xml Fri Oct 24 10:26:51 2003
@@ -1,42 +1,40 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- splitted from ./es/functions/shmop.xml, last change in rev 1.1 -->
-<!-- last change to 'shmop-write' in en/ tree in rev 1.1 -->
- <refentry id="function.shmop_write">
+<!-- $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-write">
<refnamediv>
<refname>shmop_write</refname>
- <refpurpose>Write data into shared memory block</refpurpose>
+ <refpurpose>Escribe datos en un segmento de memoria compartida</refpurpose>
</refnamediv>
<refsect1>
- <title>Description</title>
- <methodsynopsis>
+ <title>Descriptión</title>
+ <methodsyno psis>
<type>int</type><methodname>shmop_write</methodname>
<methodparam><type>int</type><parameter>shmid</parameter></methodparam>
-
<methodparam><type>string</type><parameter>data</parameter></methodparam>
-
<methodparam><type>int</type><parameter>offset</parameter></methodparam>
+
<methodparam><type>string</type><parameter>datos</parameter></methodparam>
+
<methodparam><type>int</type><parameter>comienzo</parameter></methodparam>
</methodsynopsis>
- <para>
- <function>shmop_write</function> will write a string into shared memory block.
+ <para>
+ <function>shmop_write</function> se utiliza para escribir datos en un segmento de
memoria compartida.
</para>
<para>
- <function>shmop_write</function> takes 3 parameters: shmid, which is the
- shared memory block identifier created by <function>shmop_open</function>,
- data, a string that you want to write into shared memory block and offset,
- which specifies where to start writing data inside the shared memory segment.
- </para>
+ <function>shmop_write</function> utiliza 3 parámetros: shmid, que es
el identificador del segmento de memoria compartida devuelto por la función
<function>shmop_open</function>; datos, que es una cadena que contiene los datos que se
quieren escribir en el segmento de memoria compartida y comienzo, que indica la posición
desde la que se empezarán a escribir los datos.
+ </para>
<para>
<example>
- <title>Writing to shared memory block</title>
+ <title>Escritura en un segmento de memoria compartida</title>
<programlisting role="php">
-<?php
+<![CDATA[
+<?php
$shm_bytes_written = shmop_write($shm_id, $my_string, 0);
-?>
+?>
+]]>
</programlisting>
</example>
</para>
<para>
- This example will write data inside <literal>$my_string</literal> into
- shared memory block, <literal>$shm_bytes_written</literal> will contain
- the number of bytes written.
+ En el anterior ejemplo se escriben en el segmento de memoria compartida los datos contenidos
en la variable <literal>$my_string</literal>. La variable
<literal>$shm_bytes_written</literal> contendrá el número de bytes
escritos.
</para>
</refsect1>
</refentry>