When you call resmgr_attach(), you pass a resmgr_attr_t control structure to it. Our sample code initializes this structure like this:
/* initialize resource manager attributes */ memset(&resmgr_attr, 0, sizeof resmgr_attr); resmgr_attr.nparts_max = 1; resmgr_attr.msg_max_size = 2048;
In this case, we're configuring:
For more information, see resmgr_attach() in the QNX Neutrino C Library Reference.