Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_device_munmap.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_device_munmap.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_device_munmap.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_device_munmap.html on line 8
Release a virtual memory region
#include <audio_driver.h>
int ado_device_munmap( void *addr,
unsigned long size );
- addr
- The address of the virtual memory region.
- size
- The size of the virtual memory region, in bytes.
The ado_device_munmap() function
releases any virtual memory regions
that were mapped into the region, starting at
addr that runs for size bytes,
rounded up to the next multiple of the page size.
Subsequent references to these pages cause a
SIGSEGV signal to be set on the process.
If there are no mappings in the specified
address range, calling ado_device_munmap() has no effect.
-1 if an error occurred
(errno
is set).
Any other value indicates success.
- EINVAL
- The addresses in the specified range are outside
the range allowed for the address space of a process.
- ENOSYS
- Memory unmapping isn't supported by this implementation.
QNX Neutrino
Safety: | |
Cancellation point |
No |
Interrupt handler |
No |
Signal handler |
Yes |
Thread |
Yes |
ado_device_mmap()
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_device_munmap.html on line 127
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_device_munmap.html on line 127