mirror of
https://github.com/weechat/weechat.git
synced 2026-07-02 15:53:12 +02:00
Add note about automatic unhook for function hook_process in plugin API reference
This commit is contained in:
@@ -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).
|
||||
|
||||
@@ -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).
|
||||
|
||||
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user