1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2 .. c:namespace:: DTV.dmx
13 dmx-munmap - Unmap device memory
15 .. warning:: This API is still experimental.
25 .. c:function:: int munmap( void *start, size_t length )
31 Address of the mapped buffer as returned by the
32 :c:func:`mmap()` function.
35 Length of the mapped buffer. This must be the same value as given to
41 Unmaps a previously with the :c:func:`mmap()` function mapped
42 buffer and frees it, if possible.
47 On success :c:func:`munmap()` returns 0, on failure -1 and the
48 ``errno`` variable is set appropriately:
51 The ``start`` or ``length`` is incorrect, or no buffers have been