Skip to content

Commit

Permalink
Add comment about log_fd in knet_handle_new()
Browse files Browse the repository at this point in the history
  • Loading branch information
chrissie-c authored and fabbione committed Jun 25, 2021
1 parent 67e55db commit 7446188
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libknet/libknet.h
Expand Up @@ -121,6 +121,8 @@ typedef struct knet_handle *knet_handle_t;
* It is strongly encouraged to use pipes (ex: pipe(2) or pipe2(2)) for
* logging fds due to the atomic nature of writes between fds.
* See also libknet test suite for reference and guidance.
* The caller is responsible for management of the FD. eg. knet will not
* close it when knet_handle_free(3) is called
*
* default_log_level -
* If logfd is specified, it will initialize all subsystems to log
Expand Down

0 comments on commit 7446188

Please sign in to comment.