I'm now going to show you a number of cookbook examples you can cut and paste into your code, to use as a basis for your projects. These aren't complete resource managers—you'll need to add the thread pool and dispatch skeleton shown immediately below, and ensure that your versions of the I/O functions are placed into the I/O functions table after you've done the iofunc_func_init(), in order to override the defaults!
I'll start with a number of simple examples that show basic functionality for the various resource manager message handlers:
And then in the advanced topics section, we'll look at a read I/O function handler that returns directory entries.