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/neutrino/lib_ref/m/munmap_device_io.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/neutrino/lib_ref/m/munmap_device_io.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/neutrino/lib_ref/m/munmap_device_io.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/neutrino/lib_ref/m/munmap_device_io.html on line 8
Free access to a device's registers
#include <sys/mman.h>
int munmap_device_io( uintptr_t io,
size_t len );
- io
- The address of the area that you want to unmap.
- len
- The number of bytes of device I/O memory that you want to unmap.
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()).
- -1
- An error occurred
(errno is set).
- Any other value
- Successful unmapping.
- EINVAL
- The addresses in the specified range are outside the range allowed for the address space of a process.
- ENOSYS
- The function munmap() isn't supported by this implementation.
- ENXIO
- The address from io for len bytes is invalid.
QNX Neutrino
Safety: | |
Cancellation point |
No |
Interrupt handler |
No |
Signal handler |
Yes |
Thread |
Yes |
mmap_device_io(),
munmap()
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/neutrino/lib_ref/m/munmap_device_io.html on line 146
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/neutrino/lib_ref/m/munmap_device_io.html on line 146