cvs: phpdoc-es /reference/shmop/functions shmop-size.xml
| From: | Javier Eguiluz | Date: | Fri, 24 Oct 2003 14:26:33 +0000 |
| Subject: | cvs: phpdoc-es /reference/shmop/functions shmop-size.xml | ||
| Groups: | php.doc.es | ||
| Request: | Send a blank email to doc-es+get-358@lists.php.net to get a copy of this message | ||
javi Fri Oct 24 10:26:33 2003 EDT
Added files:
/phpdoc-es/reference/shmop/functions shmop-size.xml
Log:
Index: phpdoc-es/reference/shmop/functions/shmop-size.xml
+++ phpdoc-es/reference/shmop/functions/shmop-size.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.2 Maintainer: javi Status: ready -->
<!-- splitted from ./en/functions/shmop.xml, last change in rev 1.1 -->
<refentry id="function.shmop-size">
<refnamediv>
<refname>shmop_size</refname>
<refpurpose>Obtiene el tamaño de un segmento de memoria
compartida</refpurpose>
</refnamediv>
<refsect1>
<title>Descripción</title>
<methodsynopsi s>
<type>int</type><methodname>shmop_size</methodname>
<methodparam><type>int</type><parameter>shmid</parameter></methodparam>
</methodsynopsis>
<para>
<function>shmop_size</function> se utiliza para obtener el tamaño
en bytes de un segmento de memoria compartida.
</para>
<para>
<function>shmop_size</function> utiliza como parámetro el identificador
del segmento de memoria compartida devuelto por la función
<function>shmop_open</function>. La función devuelve un dato de tipo int que
contiene el tamaño en bytes del segmento de memoria compartida.
</para>
<para>
<example>
<title>Obtención del tamaño de un segmento de memoria
compartida</title>
<programlisting role="php">
<![CDATA[
<?php
$shm_size = shmop_size($shm_id);
?>
]]>
</programlisting>
</example>
</para>
<para>
En el ejemplo anterior se almacena en la variable <literal>$shm_size</literal> el
tamaño en bytes del segmento
de memoria compartida cuyo identificador es <literal>$shm_id</literal>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->