mirror of
https://github.com/cesanta/mongoose.git
synced 2025-06-06 00:22:44 +08:00
Update mg_mgr_init.md
This commit is contained in:
parent
15643f8e67
commit
06aabdefbe
@ -6,10 +6,10 @@ 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
|
||||
could be written in which case `user_data` can hold a pointer to the
|
||||
class instance.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user