| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) | 
Map a region of physical memory
#include <audio_driver.h>
void *ado_device_mmap ( unsigned long addr,
                        unsigned long size );
The ado_device_mmap() function maps the specified region of physical memory into the driver's virtual memory.
A pointer to the resultant virtual memory region, or MAP_FAILED if an error occurred (errno is set).
QNX Neutrino
| Safety: | |
|---|---|
| Cancellation point | No | 
| Interrupt handler | No | 
| Signal handler | Yes | 
| Thread | Yes | 
| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) |