26.02.2014 Views

Getting Started with QNX Neutrino - QNX Software Systems

Getting Started with QNX Neutrino - QNX Software Systems

Getting Started with QNX Neutrino - QNX Software Systems

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

© 2009, <strong>QNX</strong> <strong>Software</strong> <strong>Systems</strong> GmbH & Co. KG.<br />

5<br />

Resource Managers 189<br />

What is a resource manager? 191<br />

Examples of resource managers 191<br />

Characteristics of resource managers 192<br />

The client’s view 192<br />

Finding the server 193<br />

Finding the process manager 194<br />

Handling directories 195<br />

Union’d filesystems 196<br />

Client summary 198<br />

The resource manager’s view 199<br />

Registering a pathname 199<br />

Handling messages 200<br />

The resource manager library 200<br />

The library really does what we just talked about 202<br />

Behind the scenes at the library 203<br />

Writing a resource manager 204<br />

Data structures 205<br />

Resource manager structure 210<br />

POSIX-layer data structures 219<br />

Handler routines 226<br />

General notes 226<br />

Connect functions notes 228<br />

Alphabetical listing of connect and I/O functions 230<br />

io_chmod() 230<br />

io_chown() 231<br />

io_close_dup() 231<br />

io_close_ocb() 232<br />

io_devctl() 233<br />

io_dup() 234<br />

io_fdinfo() 235<br />

io_link() 235<br />

io_lock() 236<br />

io_lock_ocb() 237<br />

io_lseek() 237<br />

io_mknod() 238<br />

io_mmap() 239<br />

io_mount() 240<br />

io_msg() 240<br />

io_notify() 241<br />

io_open() 242<br />

vi Contents April 30, 2009

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!