€•ã9Œ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Œ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 ”…””}”hjsbah}”(h]”h ]”h"]”h$]”h&]”h±h²Œforce”‰Œlanguage”Œc”Œhighlight_args”}”uh1jhŸ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”…””}”(hjJhžhhŸNh Nubah}”(h]”h ]”Œkt”ah"]”h$]”h&]”uh1jHhjDhžhhŸh³h KubhŒdesc_sig_space”“”)”}”(hŒ ”h]”hŒ ”…””}”(hj[hžhhŸNh Nubah}”(h]”h ]”Œw”ah"]”h$]”h&]”uh1jYhjDhžhhŸh³h KubhŒ desc_name”“”)”}”(hŒmunmap”h]”hŒ desc_sig_name”“”)”}”(hŒmunmap”h]”hŒmunmap”…””}”(hjrhžhhŸNh Nubah}”(h]”h ]”Œn”ah"]”h$]”h&]”uh1jphjlubah}”(h]”h ]”(Œsig-name”Œdescname”eh"]”h$]”h&]”h±h²uh1jjhjDhžhhŸh³h KubhŒdesc_parameterlist”“”)”}”(hŒ(void *start, size_t length)”h]”(hŒdesc_parameter”“”)”}”(hŒ void *start”h]”(jI)”}”(hŒvoid”h]”hŒvoid”…””}”(hj•hžhhŸNh Nubah}”(h]”h ]”jUah"]”h$]”h&]”uh1jHhj‘ubjZ)”}”(hŒ ”h]”hŒ ”…””}”(hj£hžhhŸNh Nubah}”(h]”h ]”jfah"]”h$]”h&]”uh1jYhj‘ubhŒdesc_sig_punctuation”“”)”}”(hŒ*”h]”hŒ*”…””}”(hj³hžhhŸNh Nubah}”(h]”h ]”Œp”ah"]”h$]”h&]”uh1j±hj‘ubjq)”}”(hŒstart”h]”hŒstart”…””}”(hjÂhžhhŸNh Nubah}”(h]”h ]”j}ah"]”h$]”h&]”uh1jphj‘ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆh±h²uh1jhj‹ubj)”}”(hŒ size_t length”h]”(h)”}”(hhh]”jq)”}”(hŒsize_t”h]”hŒsize_t”…””}”(hjÞhžhhŸNh Nubah}”(h]”h ]”j}ah"]”h$]”h&]”uh1jphjÛubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j#Œreftype”Œ identifier”Œ reftarget”jàŒmodname”NŒ classname”NŒ c:parent_key”Œsphinx.domains.c”Œ LookupKey”“”)”}”Œdata”]”(jùŒ ASTIdentifier”“”)”}”jôŒV4L”sbN†”j)”}”jôjtsbŒ c.V4L.munmap”†”esbuh1hhj×ubjZ)”}”(hŒ ”h]”hŒ ”…””}”(hj hžhhŸNh Nubah}”(h]”h ]”jfah"]”h$]”h&]”uh1jYhj×ubjq)”}”(hŒlength”h]”hŒlength”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”j}ah"]”h$]”h&]”uh1jphj×ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆh±h²uh1jhj‹ubeh}”(h]”h ]”h"]”h$]”h&]”h±h²uh1j‰hjDhžhhŸh³h Kubeh}”(h]”h ]”h"]”h$]”h&]”h±h²Œ add_permalink”ˆuh1jBŒsphinx_line_type”Œ declarator”hj>hžhhŸh³h Kubah}”(h]”j5ah ]”(Œsig”Œ sig-object”eh"]”h$]”h&]”Œ is_multiline”ˆŒ _toc_parts”)Œ _toc_name”huh1j<hŸh³h Khj9hžhubhŒ desc_content”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jGhj9hžhhŸh³h Kubeh}”(h]”h ]”(j#Œfunction”eh"]”h$]”h&]”Œdomain”j#Œobjtype”jUŒdesctype”jUŒnoindex”‰Œ noindexentry”‰Œnocontentsentry”‰uh1j7hžhhjhŸNh Nubeh}”(h]”Œsynopsis”ah ]”h"]”Œsynopsis”ah$]”h&]”uh1hÂhhÄhžhhŸh³h KubhÃ)”}”(hhh]”(hÈ)”}”(hŒ Arguments”h]”hŒ Arguments”…””}”(hjjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÇhjghž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&]”uh1j‰hj…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhŸh³h KhjubhŒ 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”j#Œc-func”eh"]”h$]”h&]”uh1j‰hj«ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”Œ#userspace-api/media/v4l/func-munmap”Œ refdomain”j#Œ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žhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1j}hŸh³h Khjzubj~)”}”(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Š)”}”(hjíh]”hŒlength”…””}”(hjïhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j‰hjë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Š)”}”(hjh]”hŒmmap()”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”(j¹j#Œc-func”eh"]”h$]”h&]”uh1j‰hj ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jÅŒ refdomain”j#Œ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Š)”}”(hj2h]”hŒ v4l2_buffer”…””}”(hj4hžhhŸNh Nubah}”(h]”h ]”(j¹j#Œc-type”eh"]”h$]”h&]”uh1j‰hj0ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jÅŒ refdomain”j#Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jøjËjÏŒ v4l2_buffer”uh1hhŸh³h K!hjubhŒ ”…””}”(hjhžhhŸNh NubjŠ)”}”(hŒ ``length``”h]”hŒlength”…””}”(hjShžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j‰hjubhŒ3 field for the single-planar API and in the struct ”…””}”(hjhžhhŸNh Nubh)”}”(hŒ:c:type:`v4l2_plane`”h]”jŠ)”}”(hjgh]”hŒ v4l2_plane”…””}”(hjihžhhŸNh Nubah}”(h]”h ]”(j¹j#Œc-type”eh"]”h$]”h&]”uh1j‰hjeubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jÅŒ refdomain”j#Œ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&]”uh1j‰hjubhŒ 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&hjzhžhubeh}”(h]”h ]”h"]”h$]”h&]”uh1jxhjghž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¹j#Œc-func”eh"]”h$]”h&]”uh1j‰hjÓubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jÅŒ refdomain”j#Œ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 ”…””}”(hjhžhhŸNh Nubh)”}”(hŒ:c:func:`munmap()`”h]”jŠ)”}”(hjh]”hŒmunmap()”…””}”(hj!hžhhŸNh Nubah}”(h]”h ]”(j¹j#Œc-func”eh"]”h$]”h&]”uh1j‰hjubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jÅŒ refdomain”j#Œreftype”Œfunc”Œ refexplicit”‰Œrefwarn”‰jøjËjÏŒmunmap”uh1hhŸh³h K1hjubhŒ" returns 0, on failure -1 and the ”…””}”(hjhžhhŸNh NubjŠ)”}”(hŒ ``errno``”h]”hŒerrno”…””}”(hj@hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j‰hjubhŒ variable is set appropriately:”…””}”(hjhžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h K1hjhžhubjy)”}”(hhh]”j~)”}”(hŒTEINVAL The ``start`` or ``length`` is incorrect, or no buffers have been mapped yet.”h]”(j„)”}”(hŒEINVAL”h]”hŒEINVAL”…””}”(hj_hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jƒhŸh³h K5hj[ubjŸ)”}”(hhh]”hé)”}”(hŒMThe ``start`` or ``length`` is incorrect, or no buffers have been mapped yet.”h]”(hŒThe ”…””}”(hjphžhhŸNh NubjŠ)”}”(hŒ ``start``”h]”hŒstart”…””}”(hjxhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j‰hjpubhŒ or ”…””}”(hjphžhhŸNh NubjŠ)”}”(hŒ ``length``”h]”hŒlength”…””}”(hjŠhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j‰hjpubhŒ2 is incorrect, or no buffers have been mapped yet.”…””}”(hjphžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h K5hjmubah}”(h]”h ]”h"]”h$]”h&]”uh1jžhj[ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j}hŸh³h K5hjXubah}”(h]”h ]”h"]”h$]”h&]”uh1jxhjhž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¾hýhújdjaj·j´jjþj¹j¶uŒ nametypes”}”(jˆjÁ‰hý‰jd‰j·‰j‰j¹‰uh}”(hÁhÄj¾hÄhúh×jajj5j>j´jgjþjº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.”…””}”hjVsbah}”(h]”h ]”h"]”h$]”h&]”uh1hèhjSubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”ŒINFO”Œsource”h³Œline”Kuh1jQubaŒ transformer”NŒ include_log”]”Œ decoration”Nhžhub.