cvs: phpdoc-es /reference/pcntl/functions pcntl-alarm.xml pcntl-exec.xml
| From: | Javier Tac�n Iglesias | Date: | Tue, 21 Dec 2004 08:40:53 +0000 |
| Subject: | cvs: phpdoc-es /reference/pcntl/functions pcntl-alarm.xml pcntl-exec.xml | ||
| Groups: | php.doc.es | ||
| Request: | Send a blank email to doc-es+get-729@lists.php.net to get a copy of this message | ||
jtacon Tue Dec 21 03:40:53 2004 EDT
Added files:
/phpdoc-es/reference/pcntl/functions pcntl-alarm.xml pcntl-exec.xml
Log:
Traducciones
http://cvs.php.net/co.php/phpdoc-es/reference/pcntl/functions/pcntl-alarm.xml?r=1.1&p=1
Index: phpdoc-es/reference/pcntl/functions/pcntl-alarm.xml
+++ phpdoc-es/reference/pcntl/functions/pcntl-alarm.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.2 Maintainer: jtacon Status: ready -->
<refentry id='function.pcntl-alarm'>
<refnamediv>
<refname>pcntl_alarm</refname>
<refpurpose>
Programa una alarma para hacer una llamada de una señal
</refpurpose>
</refnamediv>
<refsect1>
<title>Descripción</title>
<methodsynopsis>
<type>int</type><methodname>pcntl_alarm</methodname>
<methodparam><type>int</type><parameter>segundos</parameter></methodparam>
</methodsynopsis>
<para>
La función <function>pcntl_alarm</function> crea un contador para
enviar una señal <literal>SIGALRM</literal>. Si
<parameter>segundos</parameter> es cero, no se crea ninguna alarma.
Cualquier llamada a <function>pcntl_alarm</function> cancelará las
alarmas anteriormente programadas.
</para>
<para>
<function>pcntl_alarm</function> devolverá el número de
segundos restantes para la ejecución de la alarma programada, o
<literal>0</literal> si no existe ninguna alarma programada.
</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
-->
http://cvs.php.net/co.php/phpdoc-es/reference/pcntl/functions/pcntl-exec.xml?r=1.1&p=1
Index: phpdoc-es/reference/pcntl/functions/pcntl-exec.xml
+++ phpdoc-es/reference/pcntl/functions/pcntl-exec.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.3 Maintainer: jtacon Status: ready -->
<!-- splitted from ./en/functions/pcntl.xml, last change in rev 1.9 -->
<refentry id='function.pcntl-exec'>
<refnamediv>
<refname>pcntl_exec</refname>
<refpurpose>
Ejecuta un programa específico en el espacio de proceso actual
</refpurpose>
</refnamediv>
<refsect1>
<title>Descripción</title>
<methodsynopsis>
<type>bool</type><methodname>pcntl_exec</methodname>
<methodparam><type>string</type><parameter>ruta</parameter></methodparam>
<methodparam
choice="opt"><type>array</type><parameter>args</parameter></methodparam>
<methodparam
choice="opt"><type>array</type><parameter>envs</parameter></methodparam>
</methodsynopsis>
<para>
<function>pcntl_exec</function> ejecuta el programa
<parameter>path</parameter> con los argumentos
<parameter>args</parameter>.
<parameter>path</parameter> debe ser un binario ejecutable o un script
apuntando a un ejecutable con la ruta correcta en la primera línea
(por ejemplo #!/usr/local/bin/perl). Para más información
mira la página del man execve(2) en tu sistema.
</para>
<para>
<parameter>args</parameter> debe ser una matriz con los argumentos que
se le pasan al programa.
</para>
<para>
<parameter>envs</parameter> debe ser una matriz de cadenas de texto en la cual
se pasan variables de entorno al programa. La matriz debe tener el
formato indice => contenido, el indice seráa el nombre de la variable de
entorno y el contenido será el valor de la variable.
</para>
<para>
<function>pcntl_exec</function> devuelve &false; en errores.
</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
-->