€•Ò:Œsphinx.addnodes”Œdocument”“”)”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)”}”(hhh]”(hŒ pending_xref”“”)”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…””}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ7/translations/zh_CN/userspace-api/media/v4l/func-munmap”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ7/translations/zh_TW/userspace-api/media/v4l/func-munmap”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ7/translations/it_IT/userspace-api/media/v4l/func-munmap”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ7/translations/ja_JP/userspace-api/media/v4l/func-munmap”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ7/translations/ko_KR/userspace-api/media/v4l/func-munmap”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒPortuguese (Brazilian)”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ7/translations/pt_BR/userspace-api/media/v4l/func-munmap”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ7/translations/sp_SP/userspace-api/media/v4l/func-munmap”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒcomment”“”)”}”(hŒ8SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later”h]”hŒ8SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later”…””}”hh·sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1hµhhh²hh³ŒQ/var/lib/git/docbuild/linux/Documentation/userspace-api/media/v4l/func-munmap.rst”h´KubhŒtarget”“”)”}”(hŒ.. _func-munmap:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œ func-munmap”uh1hÈh´Khhh²hh³hÇubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒ V4L2 munmap()”h]”hŒ V4L2 munmap()”…””}”(hhÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhhØh²hh³hÇh´Kubh×)”}”(hhh]”(hÜ)”}”(hŒName”h]”hŒName”…””}”(hhîh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhhëh²hh³hÇh´K ubhŒ paragraph”“”)”}”(hŒ!v4l2-munmap - Unmap device memory”h]”hŒ!v4l2-munmap - Unmap device memory”…””}”(hhþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K hhëh²hubeh}”(h]”Œname”ah ]”h"]”Œname”ah$]”h&]”uh1hÖhhØh²hh³hÇh´K ubh×)”}”(hhh]”(hÜ)”}”(hŒSynopsis”h]”hŒSynopsis”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjh²hh³hÇh´KubhŒ literal_block”“”)”}”(hŒ)#include #include ”h]”hŒ)#include #include ”…””}”hj'sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆŒforce”‰Œlanguage”Œc”Œhighlight_args”}”uh1j%h³hÇh´Khjh²hubhŒindex”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(Œsingle”ŒV4L.munmap (C function)”Œ c.V4L.munmap”hNt”auh1j:hjh²hh³Nh´NubhŒdesc”“”)”}”(hhh]”(hŒdesc_signature”“”)”}”(hŒ(int munmap( void *start, size_t length )”h]”hŒdesc_signature_line”“”)”}”(hŒ&int munmap(void *start, size_t length)”h]”(hŒdesc_sig_keyword_type”“”)”}”(hŒint”h]”hŒint”…””}”(hj^h²hh³Nh´Nubah}”(h]”h ]”Œkt”ah"]”h$]”h&]”uh1j\hjXh²hh³hÇh´KubhŒdesc_sig_space”“”)”}”(hŒ ”h]”hŒ ”…””}”(hjoh²hh³Nh´Nubah}”(h]”h ]”Œw”ah"]”h$]”h&]”uh1jmhjXh²hh³hÇh´KubhŒ desc_name”“”)”}”(hŒmunmap”h]”hŒ desc_sig_name”“”)”}”(hŒmunmap”h]”hŒmunmap”…””}”(hj†h²hh³Nh´Nubah}”(h]”h ]”Œn”ah"]”h$]”h&]”uh1j„hj€ubah}”(h]”h ]”(Œsig-name”Œdescname”eh"]”h$]”h&]”hÅhÆuh1j~hjXh²hh³hÇh´KubhŒdesc_parameterlist”“”)”}”(hŒ(void *start, size_t length)”h]”(hŒdesc_parameter”“”)”}”(hŒ void *start”h]”(j])”}”(hŒvoid”h]”hŒvoid”…””}”(hj©h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hj¥ubjn)”}”(hŒ ”h]”hŒ ”…””}”(hj·h²hh³Nh´Nubah}”(h]”h ]”jzah"]”h$]”h&]”uh1jmhj¥ubhŒdesc_sig_punctuation”“”)”}”(hŒ*”h]”hŒ*”…””}”(hjÇh²hh³Nh´Nubah}”(h]”h ]”Œp”ah"]”h$]”h&]”uh1jÅhj¥ubj…)”}”(hŒstart”h]”hŒstart”…””}”(hjÖh²hh³Nh´Nubah}”(h]”h ]”j‘ah"]”h$]”h&]”uh1j„hj¥ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆhÅhÆuh1j£hjŸubj¤)”}”(hŒ size_t length”h]”(h)”}”(hhh]”j…)”}”(hŒsize_t”h]”hŒsize_t”…””}”(hjòh²hh³Nh´Nubah}”(h]”h ]”j‘ah"]”h$]”h&]”uh1j„hjïubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j7Œreftype”Œ identifier”Œ reftarget”jôŒmodname”NŒ classname”NŒ c:parent_key”Œsphinx.domains.c”Œ LookupKey”“”)”}”Œdata”]”(j Œ ASTIdentifier”“”)”}”jŒV4L”sbN†”j)”}”jjˆsbŒ c.V4L.munmap”†”esbuh1hhjëubjn)”}”(hŒ ”h]”hŒ ”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”jzah"]”h$]”h&]”uh1jmhjëubj…)”}”(hŒlength”h]”hŒlength”…””}”(hj,h²hh³Nh´Nubah}”(h]”h ]”j‘ah"]”h$]”h&]”uh1j„hjëubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆhÅhÆuh1j£hjŸubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1jhjXh²hh³hÇh´Kubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆŒ add_permalink”ˆuh1jVŒsphinx_line_type”Œ declarator”hjRh²hh³hÇh´Kubah}”(h]”jIah ]”(Œsig”Œ sig-object”eh"]”h$]”h&]”Œ is_multiline”ˆŒ _toc_parts”)Œ _toc_name”huh1jPh³hÇh´KhjMh²hubhŒ desc_content”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1j[hjMh²hh³hÇh´Kubeh}”(h]”h ]”(j7Œfunction”eh"]”h$]”h&]”Œdomain”j7Œobjtype”jiŒdesctype”jiŒnoindex”‰Œ noindexentry”‰Œnocontentsentry”‰uh1jKh²hhjh³Nh´Nubeh}”(h]”Œsynopsis”ah ]”h"]”Œsynopsis”ah$]”h&]”uh1hÖhhØh²hh³hÇh´Kubh×)”}”(hhh]”(hÜ)”}”(hŒ Arguments”h]”hŒ Arguments”…””}”(hj~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhj{h²hh³hÇh´KubhŒdefinition_list”“”)”}”(hhh]”(hŒdefinition_list_item”“”)”}”(hŒU``start`` Address of the mapped buffer as returned by the :c:func:`mmap()` function. ”h]”(hŒterm”“”)”}”(hŒ ``start``”h]”hŒliteral”“”)”}”(hj›h]”hŒstart”…””}”(hjŸh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj™ubah}”(h]”h ]”h"]”h$]”h&]”uh1j—h³hÇh´Khj“ubhŒ definition”“”)”}”(hhh]”hý)”}”(hŒJAddress of the mapped buffer as returned by the :c:func:`mmap()` function.”h]”(hŒ0Address of the mapped buffer as returned by the ”…””}”(hj·h²hh³Nh´Nubh)”}”(hŒ:c:func:`mmap()`”h]”jž)”}”(hjÁh]”hŒmmap()”…””}”(hjÃh²hh³Nh´Nubah}”(h]”h ]”(Œxref”j7Œc-func”eh"]”h$]”h&]”uh1jhj¿ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”Œ#userspace-api/media/v4l/func-munmap”Œ refdomain”j7Œreftype”Œfunc”Œ refexplicit”‰Œrefwarn”‰j j)”}”j]”jN†”asbŒ reftarget”Œmmap”uh1hh³hÇh´Khj·ubhŒ function.”…””}”(hj·h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Khj´ubah}”(h]”h ]”h"]”h$]”h&]”uh1j²hj“ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j‘h³hÇh´KhjŽubj’)”}”(hX``length`` Length of the mapped buffer. This must be the same value as given to :c:func:`mmap()` and returned by the driver in the struct :c:type:`v4l2_buffer` ``length`` field for the single-planar API and in the struct :c:type:`v4l2_plane` ``length`` field for the multi-planar API. ”h]”(j˜)”}”(hŒ ``length``”h]”jž)”}”(hjh]”hŒlength”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÿubah}”(h]”h ]”h"]”h$]”h&]”uh1j—h³hÇh´K&hjûubj³)”}”(hhh]”hý)”}”(hXLength of the mapped buffer. This must be the same value as given to :c:func:`mmap()` and returned by the driver in the struct :c:type:`v4l2_buffer` ``length`` field for the single-planar API and in the struct :c:type:`v4l2_plane` ``length`` field for the multi-planar API.”h]”(hŒELength of the mapped buffer. This must be the same value as given to ”…””}”(hjh²hh³Nh´Nubh)”}”(hŒ:c:func:`mmap()`”h]”jž)”}”(hj#h]”hŒmmap()”…””}”(hj%h²hh³Nh´Nubah}”(h]”h ]”(jÍj7Œc-func”eh"]”h$]”h&]”uh1jhj!ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jÙŒ refdomain”j7Œreftype”Œfunc”Œ refexplicit”‰Œrefwarn”‰j jßjãŒmmap”uh1hh³hÇh´K!hjubhŒ* and returned by the driver in the struct ”…””}”(hjh²hh³Nh´Nubh)”}”(hŒ:c:type:`v4l2_buffer`”h]”jž)”}”(hjFh]”hŒ v4l2_buffer”…””}”(hjHh²hh³Nh´Nubah}”(h]”h ]”(jÍj7Œc-type”eh"]”h$]”h&]”uh1jhjDubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jÙŒ refdomain”j7Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰j jßj㌠v4l2_buffer”uh1hh³hÇh´K!hjubhŒ ”…””}”(hjh²hh³Nh´Nubjž)”}”(hŒ ``length``”h]”hŒlength”…””}”(hjgh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubhŒ3 field for the single-planar API and in the struct ”…””}”(hjh²hh³Nh´Nubh)”}”(hŒ:c:type:`v4l2_plane`”h]”jž)”}”(hj{h]”hŒ v4l2_plane”…””}”(hj}h²hh³Nh´Nubah}”(h]”h ]”(jÍj7Œc-type”eh"]”h$]”h&]”uh1jhjyubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jÙŒ refdomain”j7Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰j jßj㌠v4l2_plane”uh1hh³hÇh´K!hjubhŒ ”…””}”hjsbjž)”}”(hŒ ``length``”h]”hŒlength”…””}”(hjœh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubhŒ field for the multi-planar API.”…””}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K!hjubah}”(h]”h ]”h"]”h$]”h&]”uh1j²hjûubeh}”(h]”h ]”h"]”h$]”h&]”uh1j‘h³hÇh´K&hjŽh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jŒhj{h²hh³hÇh´Nubeh}”(h]”Œ arguments”ah ]”h"]”Œ arguments”ah$]”h&]”uh1hÖhhØh²hh³hÇh´Kubh×)”}”(hhh]”(hÜ)”}”(hŒ Description”h]”hŒ Description”…””}”(hjÑh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjÎh²hh³hÇh´K)ubhý)”}”(hŒ_Unmaps a previously with the :c:func:`mmap()` function mapped buffer and frees it, if possible.”h]”(hŒUnmaps a previously with the ”…””}”(hjßh²hh³Nh´Nubh)”}”(hŒ:c:func:`mmap()`”h]”jž)”}”(hjéh]”hŒmmap()”…””}”(hjëh²hh³Nh´Nubah}”(h]”h ]”(jÍj7Œc-func”eh"]”h$]”h&]”uh1jhjçubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jÙŒ refdomain”j7Œreftype”Œfunc”Œ refexplicit”‰Œrefwarn”‰j jßjãŒmmap”uh1hh³hÇh´K+hjßubhŒ2 function mapped buffer and frees it, if possible.”…””}”(hjßh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K+hjÎh²hubeh}”(h]”Œ description”ah ]”h"]”Œ description”ah$]”h&]”uh1hÖhhØh²hh³hÇh´K)ubh×)”}”(hhh]”(hÜ)”}”(hŒ Return Value”h]”hŒ Return Value”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjh²hh³hÇh´K/ubhý)”}”(hŒgOn success :c:func:`munmap()` returns 0, on failure -1 and the ``errno`` variable is set appropriately:”h]”(hŒ On success ”…””}”(hj)h²hh³Nh´Nubh)”}”(hŒ:c:func:`munmap()`”h]”jž)”}”(hj3h]”hŒmunmap()”…””}”(hj5h²hh³Nh´Nubah}”(h]”h ]”(jÍj7Œc-func”eh"]”h$]”h&]”uh1jhj1ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jÙŒ refdomain”j7Œreftype”Œfunc”Œ refexplicit”‰Œrefwarn”‰j jßjãŒmunmap”uh1hh³hÇh´K1hj)ubhŒ" returns 0, on failure -1 and the ”…””}”(hj)h²hh³Nh´Nubjž)”}”(hŒ ``errno``”h]”hŒerrno”…””}”(hjTh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj)ubhŒ variable is set appropriately:”…””}”(hj)h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K1hjh²hubj)”}”(hhh]”j’)”}”(hŒTEINVAL The ``start`` or ``length`` is incorrect, or no buffers have been mapped yet.”h]”(j˜)”}”(hŒEINVAL”h]”hŒEINVAL”…””}”(hjsh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j—h³hÇh´K5hjoubj³)”}”(hhh]”hý)”}”(hŒMThe ``start`` or ``length`` is incorrect, or no buffers have been mapped yet.”h]”(hŒThe ”…””}”(hj„h²hh³Nh´Nubjž)”}”(hŒ ``start``”h]”hŒstart”…””}”(hjŒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj„ubhŒ or ”…””}”(hj„h²hh³Nh´Nubjž)”}”(hŒ ``length``”h]”hŒlength”…””}”(hjžh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj„ubhŒ2 is incorrect, or no buffers have been mapped yet.”…””}”(hj„h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K5hjubah}”(h]”h ]”h"]”h$]”h&]”uh1j²hjoubeh}”(h]”h ]”h"]”h$]”h&]”uh1j‘h³hÇh´K5hjlubah}”(h]”h ]”h"]”h$]”h&]”uh1jŒhjh²hh³hÇh´Nubeh}”(h]”Œ return-value”ah ]”h"]”Œ return value”ah$]”h&]”uh1hÖhhØh²hh³hÇh´K/ubeh}”(h]”(Œ v4l2-munmap”hÕeh ]”h"]”(Œ v4l2 munmap()”Œ func-munmap”eh$]”h&]”uh1hÖhhh²hh³hÇh´KŒexpect_referenced_by_name”}”jÖhÊsŒexpect_referenced_by_id”}”hÕhÊsubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÇuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)”}”(hÛNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”Œentry”Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”jŒerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÇŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”hÕ]”hÊasŒnameids”}”(jÖhÕjÕjÒjjjxjujËjÈjjjÍjÊuŒ nametypes”}”(jÖˆjÕ‰j‰jx‰jˉj‰j͉uh}”(hÕhØjÒhØjhëjujjIjRjÈj{jjÎjÊjuŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”hŒsystem_message”“”)”}”(hhh]”hý)”}”(hhh]”hŒ1Hyperlink target "func-munmap" is not referenced.”…””}”hjjsbah}”(h]”h ]”h"]”h$]”h&]”uh1hühjgubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”ŒINFO”Œsource”hÇŒline”Kuh1jeubaŒ transformer”NŒ include_log”]”Œ decoration”Nh²hub.