diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2010-12-06 18:59:27 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2010-12-06 18:59:27 +0100 |
commit | 2a18daad6b0da26b37fbeadd645e3108702995ba (patch) | |
tree | c73d623e2fb6039f62ab492e5072c17ccfa93b57 /doc | |
parent | 7a3946f2617ff6ec3a43b2e3ae947c821104c4c1 (diff) | |
download | weechat-2a18daad6b0da26b37fbeadd645e3108702995ba.zip |
Add note about automatic unhook for function hook_process in plugin API reference
Diffstat (limited to 'doc')
-rw-r--r-- | doc/en/weechat_plugin_api.en.txt | 3 | ||||
-rw-r--r-- | doc/fr/weechat_plugin_api.fr.txt | 4 | ||||
-rw-r--r-- | doc/it/weechat_plugin_api.it.txt | 4 |
3 files changed, 11 insertions, 0 deletions
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). |