summaryrefslogtreecommitdiff
path: root/doc/en
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-12-06 18:59:27 +0100
committerSebastien Helleu <flashcode@flashtux.org>2010-12-06 18:59:27 +0100
commit2a18daad6b0da26b37fbeadd645e3108702995ba (patch)
treec73d623e2fb6039f62ab492e5072c17ccfa93b57 /doc/en
parent7a3946f2617ff6ec3a43b2e3ae947c821104c4c1 (diff)
downloadweechat-2a18daad6b0da26b37fbeadd645e3108702995ba.zip
Add note about automatic unhook for function hook_process in plugin API reference
Diffstat (limited to 'doc/en')
-rw-r--r--doc/en/weechat_plugin_api.en.txt3
1 files changed, 3 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).