diff options
Diffstat (limited to 'doc/it/weechat_plugin_api.it.txt')
-rw-r--r-- | doc/it/weechat_plugin_api.it.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/it/weechat_plugin_api.it.txt b/doc/it/weechat_plugin_api.it.txt index 6cd6627be..fdee54429 100644 --- a/doc/it/weechat_plugin_api.it.txt +++ b/doc/it/weechat_plugin_api.it.txt @@ -6217,6 +6217,19 @@ Valore restituito: * puntatore al nuovo hook, NULL in caso di errore +// TRANSLATION MISSING +[NOTE] +Buffer size for sending data to callback is 64KB (there are 2 buffers: one for +stdout and one for stderr). +If output from child process (stdout or stderr) is longer than 64KB, callback +will be called more than one time. + +// TRANSLATION MISSING +[IMPORTANT] +Even if most of times your callback is called only once, you must ensure that +many calls to callback are ok in your code: you must concatenate data issued by +many calls and use data only when return code is nonnegative. + Esempio in C: [source,C] |