€•çJŒ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”Œ5/translations/zh_CN/userspace-api/media/rc/lirc-write”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ5/translations/zh_TW/userspace-api/media/rc/lirc-write”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ5/translations/it_IT/userspace-api/media/rc/lirc-write”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ5/translations/ja_JP/userspace-api/media/rc/lirc-write”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ5/translations/ko_KR/userspace-api/media/rc/lirc-write”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ5/translations/sp_SP/userspace-api/media/rc/lirc-write”Œ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ŒCSPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later”h]”hŒCSPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later”…””}”hh£sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1h¡hhhžhhŸŒO/var/lib/git/docbuild/linux/Documentation/userspace-api/media/rc/lirc-write.rst”h KubhŒtarget”“”)”}”(hŒ.. _lirc-write:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œ lirc-write”uh1h´h KhhhžhhŸh³ubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒ LIRC write()”h]”hŒ LIRC write()”…””}”(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Œ#lirc-write - Write to a LIRC device”h]”hŒ#lirc-write - Write to a LIRC device”…””}”(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 ”h]”hŒ#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”ŒRC.write (C function)”Œ c.RC.write”hNt”auh1j&hjhžhhŸNh NubhŒdesc”“”)”}”(hhh]”(hŒdesc_signature”“”)”}”(hŒ0ssize_t write( int fd, void *buf, size_t count )”h]”hŒdesc_signature_line”“”)”}”(hŒ.ssize_t write(int fd, void *buf, size_t count)”h]”(h)”}”(hhh]”hŒ desc_sig_name”“”)”}”(hŒssize_t”h]”hŒssize_t”…””}”(hjMhžhhŸNh Nubah}”(h]”h ]”Œn”ah"]”h$]”h&]”uh1jKhjHubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j#Œreftype”Œ identifier”Œ reftarget”jOŒmodname”NŒ classname”NŒ c:parent_key”Œsphinx.domains.c”Œ LookupKey”“”)”}”Œdata”]”(jiŒ ASTIdentifier”“”)”}”jdŒRC”sbN†”jq)”}”jdŒwrite”sbŒ c.RC.write”†”esbuh1hhjDhžhhŸh³h KubhŒdesc_sig_space”“”)”}”(hŒ ”h]”hŒ ”…””}”(hj}hžhhŸNh Nubah}”(h]”h ]”Œw”ah"]”h$]”h&]”uh1j{hjDhžhhŸh³h KubhŒ desc_name”“”)”}”(hŒwrite”h]”jL)”}”(hjxh]”hŒwrite”…””}”(hj’hžhhŸNh Nubah}”(h]”h ]”jXah"]”h$]”h&]”uh1jKhjŽubah}”(h]”h ]”(Œsig-name”Œdescname”eh"]”h$]”h&]”h±h²uh1jŒhjDhžhhŸh³h KubhŒdesc_parameterlist”“”)”}”(hŒ!(int fd, void *buf, size_t count)”h]”(hŒdesc_parameter”“”)”}”(hŒint fd”h]”(hŒdesc_sig_keyword_type”“”)”}”(hŒint”h]”hŒint”…””}”(hjµhžhhŸNh Nubah}”(h]”h ]”Œkt”ah"]”h$]”h&]”uh1j³hj¯ubj|)”}”(hŒ ”h]”hŒ ”…””}”(hjÄhžhhŸNh Nubah}”(h]”h ]”jˆah"]”h$]”h&]”uh1j{hj¯ubjL)”}”(hŒfd”h]”hŒfd”…””}”(hjÒhžhhŸNh Nubah}”(h]”h ]”jXah"]”h$]”h&]”uh1jKhj¯ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆh±h²uh1j­hj©ubj®)”}”(hŒ void *buf”h]”(j´)”}”(hŒvoid”h]”hŒvoid”…””}”(hjëhžhhŸNh Nubah}”(h]”h ]”jÀah"]”h$]”h&]”uh1j³hjçubj|)”}”(hŒ ”h]”hŒ ”…””}”(hjùhžhhŸNh Nubah}”(h]”h ]”jˆah"]”h$]”h&]”uh1j{hjçubhŒdesc_sig_punctuation”“”)”}”(hŒ*”h]”hŒ*”…””}”(hj hžhhŸNh Nubah}”(h]”h ]”Œp”ah"]”h$]”h&]”uh1jhjçubjL)”}”(hŒbuf”h]”hŒbuf”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”jXah"]”h$]”h&]”uh1jKhjçubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆh±h²uh1j­hj©ubj®)”}”(hŒ size_t count”h]”(h)”}”(hhh]”jL)”}”(hŒsize_t”h]”hŒsize_t”…””}”(hj4hžhhŸNh Nubah}”(h]”h ]”jXah"]”h$]”h&]”uh1jKhj1ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j#Œreftype”jdŒ reftarget”j6Œmodname”NŒ classname”Njhjk)”}”jn]”(jrN†”jvŒ c.RC.write”†”esbuh1hhj-ubj|)”}”(hŒ ”h]”hŒ ”…””}”(hjShžhhŸNh Nubah}”(h]”h ]”jˆah"]”h$]”h&]”uh1j{hj-ubjL)”}”(hŒcount”h]”hŒcount”…””}”(hjahžhhŸNh Nubah}”(h]”h ]”jXah"]”h$]”h&]”uh1jKhj-ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆh±h²uh1j­hj©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&]”uh1jhj9hžhhŸh³h Kubeh}”(h]”h ]”(j#Œfunction”eh"]”h$]”h&]”Œdomain”j#Œobjtype”jžŒdesctype”jžŒ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”…””}”(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Œ/``fd`` File descriptor returned by ``open()``. ”h]”(hŒterm”“”)”}”(hŒ``fd``”h]”hŒliteral”“”)”}”(hjÐh]”hŒfd”…””}”(hjÔhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÒhjÎubah}”(h]”h ]”h"]”h$]”h&]”uh1jÌhŸh³h KhjÈubhŒ definition”“”)”}”(hhh]”hé)”}”(hŒ'File descriptor returned by ``open()``.”h]”(hŒFile descriptor returned by ”…””}”(hjìhžhhŸNh NubjÓ)”}”(hŒ ``open()``”h]”hŒopen()”…””}”(hjôhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÒhjìubhŒ.”…””}”(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Ç)”}”(hŒ'``buf`` Buffer with data to be written ”h]”(jÍ)”}”(hŒ``buf``”h]”jÓ)”}”(hjh]”hŒbuf”…””}”(hj hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÒhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jÌhŸh³h Khjubjè)”}”(hhh]”hé)”}”(hŒBuffer with data to be written”h]”hŒBuffer with data to be written”…””}”(hj6hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h Khj3ubah}”(h]”h ]”h"]”h$]”h&]”uh1jçhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÆhŸh³h KhjÃhžhubjÇ)”}”(hŒ(``count`` Number of bytes at the buffer ”h]”(jÍ)”}”(hŒ ``count``”h]”jÓ)”}”(hjVh]”hŒcount”…””}”(hjXhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÒhjTubah}”(h]”h ]”h"]”h$]”h&]”uh1jÌhŸh³h K"hjPubjè)”}”(hhh]”hé)”}”(hŒNumber of bytes at the buffer”h]”hŒNumber of bytes at the buffer”…””}”(hjnhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h K"hjkubah}”(h]”h ]”h"]”h$]”h&]”uh1jçhjPubeh}”(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ŒŠ:c:func:`write()` writes up to ``count`` bytes to the device referenced by the file descriptor ``fd`` from the buffer starting at ``buf``.”h]”(h)”}”(hŒ:c:func:`write()`”h]”jÓ)”}”(hj­h]”hŒwrite()”…””}”(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/rc/lirc-write”Œ refdomain”j#Œreftype”Œfunc”Œ refexplicit”‰Œrefwarn”‰jhjk)”}”jn]”jrN†”asbŒ reftarget”Œwrite”uh1hhŸh³h K'hj§ubhŒ writes up to ”…””}”(hj§hžhhŸNh NubjÓ)”}”(hŒ ``count``”h]”hŒcount”…””}”(hjÕhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÒhj§ubhŒ7 bytes to the device referenced by the file descriptor ”…””}”(hj§hžhhŸNh NubjÓ)”}”(hŒ``fd``”h]”hŒfd”…””}”(hjçhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÒhj§ubhŒ from the buffer starting at ”…””}”(hj§hžhhŸNh NubjÓ)”}”(hŒ``buf``”h]”hŒbuf”…””}”(hjùhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÒhj§ubhŒ.”…””}”(hj§hžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h K'hj–hžhubhé)”}”(hŒ©The exact format of the data depends on what mode a driver is in, use :ref:`lirc_get_features` to get the supported modes and use :ref:`lirc_set_send_mode` set the mode.”h]”(hŒFThe exact format of the data depends on what mode a driver is in, use ”…””}”(hjhžhhŸNh Nubh)”}”(hŒ:ref:`lirc_get_features`”h]”hŒinline”“”)”}”(hjh]”hŒlirc_get_features”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”(j¹Œstd”Œstd-ref”eh"]”h$]”h&]”uh1jhjubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jÅŒ refdomain”j)Œreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆjÏŒlirc_get_features”uh1hhŸh³h K+hjubhŒ$ to get the supported modes and use ”…””}”(hjhžhhŸNh Nubh)”}”(hŒ:ref:`lirc_set_send_mode`”h]”j)”}”(hjAh]”hŒlirc_set_send_mode”…””}”(hjChžhhŸNh Nubah}”(h]”h ]”(j¹Œstd”Œstd-ref”eh"]”h$]”h&]”uh1jhj?ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jÅŒ refdomain”jMŒreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆjÏŒlirc_set_send_mode”uh1hhŸh³h K+hjubhŒ set the mode.”…””}”(hjhžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h K+hj–hžhubhé)”}”(hXÕWhen in :ref:`LIRC_MODE_PULSE ` mode, the data written to the chardev is a pulse/space sequence of integer values. Pulses and spaces are only marked implicitly by their position. The data must start and end with a pulse, therefore, the data must always include an uneven number of samples. The write function blocks until the data has been transmitted by the hardware. If more data is provided than the hardware can send, the driver returns ``EINVAL``.”h]”(hŒWhen in ”…””}”(hjihžhhŸNh Nubh)”}”(hŒ(:ref:`LIRC_MODE_PULSE `”h]”j)”}”(hjsh]”hŒLIRC_MODE_PULSE”…””}”(hjuhžhhŸNh Nubah}”(h]”h ]”(j¹Œstd”Œstd-ref”eh"]”h$]”h&]”uh1jhjqubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jÅŒ refdomain”jŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆjÏŒlirc-mode-pulse”uh1hhŸh³h K/hjiubhXš mode, the data written to the chardev is a pulse/space sequence of integer values. Pulses and spaces are only marked implicitly by their position. The data must start and end with a pulse, therefore, the data must always include an uneven number of samples. The write function blocks until the data has been transmitted by the hardware. If more data is provided than the hardware can send, the driver returns ”…””}”(hjihžhhŸNh NubjÓ)”}”(hŒ ``EINVAL``”h]”hŒEINVAL”…””}”(hj•hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÒhjiubhŒ.”…””}”(hjihžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h K/hj–hžhubhé)”}”(hXBWhen in :ref:`LIRC_MODE_SCANCODE ` mode, one ``struct lirc_scancode`` must be written to the chardev at a time, else ``EINVAL`` is returned. Set the desired scancode in the ``scancode`` member, and the :ref:`IR protocol ` in the :c:type:`rc_proto`: member. All other members must be set to 0, else ``EINVAL`` is returned. If there is no protocol encoder for the protocol or the scancode is not valid for the specified protocol, ``EINVAL`` is returned. The write function blocks until the scancode is transmitted by the hardware.”h]”(hŒWhen in ”…””}”(hj­hžhhŸNh Nubh)”}”(hŒ.:ref:`LIRC_MODE_SCANCODE `”h]”j)”}”(hj·h]”hŒLIRC_MODE_SCANCODE”…””}”(hj¹hžhhŸNh Nubah}”(h]”h ]”(j¹Œstd”Œstd-ref”eh"]”h$]”h&]”uh1jhjµubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jÅŒ refdomain”jÃŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆjÏŒlirc-mode-scancode”uh1hhŸh³h K7hj­ubhŒ mode, one ”…””}”(hj­hžhhŸNh NubjÓ)”}”(hŒ``struct lirc_scancode``”h]”hŒstruct lirc_scancode”…””}”(hjÙhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÒhj­ubhŒ0 must be written to the chardev at a time, else ”…””}”(hj­hžhhŸNh NubjÓ)”}”(hŒ ``EINVAL``”h]”hŒEINVAL”…””}”(hjëhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÒhj­ubhŒ. is returned. Set the desired scancode in the ”…””}”(hj­hžhhŸNh NubjÓ)”}”(hŒ ``scancode``”h]”hŒscancode”…””}”(hjýhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÒhj­ubhŒ member, and the ”…””}”(hj­hžhhŸNh Nubh)”}”(hŒ1:ref:`IR protocol `”h]”j)”}”(hjh]”hŒ IR protocol”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”(j¹Œstd”Œstd-ref”eh"]”h$]”h&]”uh1jhjubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jÅŒ refdomain”jŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆjÏŒremote_controllers_protocols”uh1hhŸh³h K7hj­ubhŒ in the ”…””}”(hj­hžhhŸNh Nubh)”}”(hŒ:c:type:`rc_proto`”h]”jÓ)”}”(hj5h]”hŒrc_proto”…””}”(hj7hžhhŸNh Nubah}”(h]”h ]”(j¹j#Œc-type”eh"]”h$]”h&]”uh1jÒhj3ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jÅŒ refdomain”j#Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jhjËjÏŒrc_proto”uh1hhŸh³h K7hj­ubhŒ3: member. All other members must be set to 0, else ”…””}”(hj­hžhhŸNh NubjÓ)”}”(hŒ ``EINVAL``”h]”hŒEINVAL”…””}”(hjVhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÒhj­ubhŒx is returned. If there is no protocol encoder for the protocol or the scancode is not valid for the specified protocol, ”…””}”(hj­hžhhŸNh NubjÓ)”}”(hŒ ``EINVAL``”h]”hŒEINVAL”…””}”(hjhhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÒhj­ubhŒZ is returned. The write function blocks until the scancode is transmitted by the hardware.”…””}”(hj­hžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h K7hj–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”…””}”(hj‹hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÇhjˆhžhhŸh³h KBubhé)”}”(hX]On success, the number of bytes written is returned. It is not an error if this number is smaller than the number of bytes requested, or the amount of data required for one frame. On error, -1 is returned, and the ``errno`` variable is set appropriately. The generic error codes are described at the :ref:`Generic Error Codes ` chapter.”h]”(hŒ×On success, the number of bytes written is returned. It is not an error if this number is smaller than the number of bytes requested, or the amount of data required for one frame. On error, -1 is returned, and the ”…””}”(hj™hžhhŸNh NubjÓ)”}”(hŒ ``errno``”h]”hŒerrno”…””}”(hj¡hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÒhj™ubhŒM variable is set appropriately. The generic error codes are described at the ”…””}”(hj™hžhhŸNh Nubh)”}”(hŒ':ref:`Generic Error Codes `”h]”j)”}”(hjµh]”hŒGeneric Error Codes”…””}”(hj·hžhhŸNh Nubah}”(h]”h ]”(j¹Œstd”Œstd-ref”eh"]”h$]”h&]”uh1jhj³ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jÅŒ refdomain”jÁŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆjÏŒ gen-errors”uh1hhŸh³h KDhj™ubhŒ chapter.”…””}”(hj™hžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h KDhjˆhžhubeh}”(h]”Œ return-value”ah ]”h"]”Œ return value”ah$]”h&]”uh1hÂhhÄhžhhŸh³h KBubeh}”(h]”(hÁŒid1”eh ]”h"]”(Œ lirc write()”Œ lirc-write”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új­jªj“jj…j‚jâjßuŒ nametypes”}”(jëˆjê‰hý‰j­‰j“‰j…‰jâ‰uh}”(hÁhÄjçhÄhúh×jªjj5j>jj°j‚j–jßjˆuŒ 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”“”}”j#Ks…”R”Œparse_messages”]”Œtransform_messages”]”hŒsystem_message”“”)”}”(hhh]”hé)”}”(hhh]”hŒ0Hyperlink target "lirc-write" is not referenced.”…””}”hjsbah}”(h]”h ]”h"]”h$]”h&]”uh1hèhj|ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”ŒINFO”Œsource”h³Œline”Kuh1jzubaŒ transformer”NŒ include_log”]”Œ decoration”Nhžhub.