This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Free access to a device's registers
#include <sys/mman.h> int munmap_device_io( uintptr_t io, size_t len );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The function munmap_device_io() unmaps len bytes of device I/O memory at io (that was previously mapped with mmap_device_io()).
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |