From 2a18daad6b0da26b37fbeadd645e3108702995ba Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Mon, 6 Dec 2010 18:59:27 +0100 Subject: Add note about automatic unhook for function hook_process in plugin API reference --- doc/en/weechat_plugin_api.en.txt | 3 +++ doc/fr/weechat_plugin_api.fr.txt | 4 ++++ doc/it/weechat_plugin_api.it.txt | 4 ++++ 3 files changed, 11 insertions(+) (limited to 'doc') diff --git a/doc/en/weechat_plugin_api.en.txt b/doc/en/weechat_plugin_api.en.txt index f89eab55d..129ce8ff7 100644 --- a/doc/en/weechat_plugin_api.en.txt +++ b/doc/en/weechat_plugin_api.en.txt @@ -6208,6 +6208,9 @@ Return value: * pointer to new hook, NULL if error occured +When command has ended, or if timeout is reached, WeeChat will automatically +unhook (and kill process if it is still running). + [NOTE] Buffer size for sending data to callback is 64KB (there are 2 buffers: one for stdout and one for stderr). diff --git a/doc/fr/weechat_plugin_api.fr.txt b/doc/fr/weechat_plugin_api.fr.txt index cf92cddec..800096282 100644 --- a/doc/fr/weechat_plugin_api.fr.txt +++ b/doc/fr/weechat_plugin_api.fr.txt @@ -6286,6 +6286,10 @@ Valeur de retour : * pointeur vers le nouveau "hook", NULL en cas d'erreur +Lorsque la commande est terminée, ou si le timeout est atteint, WeeChat +supprimera automatiquement le "hook" (et tuera le processus s'il tourne +toujours). + [NOTE] La taille du tampon pour l'envoi des données au "callback" est de 64 Ko (il y a 2 tampons: un pour stdout et un pour stderr). diff --git a/doc/it/weechat_plugin_api.it.txt b/doc/it/weechat_plugin_api.it.txt index b3cd2154f..13ac3c948 100644 --- a/doc/it/weechat_plugin_api.it.txt +++ b/doc/it/weechat_plugin_api.it.txt @@ -6217,6 +6217,10 @@ Valore restituito: * puntatore al nuovo hook, NULL in caso di errore +// TRANSLATION MISSING +When command has ended, or if timeout is reached, WeeChat will automatically +unhook (and kill process if it is still running). + [NOTE] La dimensione del buffer per l'invio dei dati alla callback è di 64KB (ci sono 2 buffer: uno per stdout ed uno per stderr). -- cgit v1.2.3