Commit 4ae88c85 authored by Evelyn's avatar Evelyn Committed by GitHub

Update mg_mgr_init.md

parent e8a97f12
......@@ -6,9 +6,9 @@ signature: |
void mg_mgr_init(struct mg_mgr *mgr, void *user_data);
---
Initialize Mongoose manager. Side effect: ignores SIGPIPE signal.
`mgr->user_data` field will be initialized with `user_data` parameter.
That is an arbitrary pointer, where user code can associate some data
Initialise Mongoose manager. Side effect: ignores SIGPIPE signal.
`mgr->user_data` field will be initialised with a `user_data` parameter.
That is an arbitrary pointer, where the user code can associate some data
with the particular Mongoose manager. For example, a C++ wrapper class
could be written, in which case `user_data` can hold a pointer to the
class instance.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment