€•é5Œ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/dvb/dmx-get-stc”Œ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/dvb/dmx-get-stc”Œ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/dvb/dmx-get-stc”Œ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/dvb/dmx-get-stc”Œ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/dvb/dmx-get-stc”Œ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/dvb/dmx-get-stc”Œ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/dvb/dmx-get-stc”Œ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/dvb/dmx-get-stc.rst”h´KubhŒtarget”“”)”}”(hŒ.. _DMX_GET_STC:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œ dmx-get-stc”uh1hÈh´Khhh²hh³hÇubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒ DMX_GET_STC”h]”hŒ DMX_GET_STC”…””}”(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Œ DMX_GET_STC”h]”hŒ DMX_GET_STC”…””}”(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Œindex”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(Œsingle”ŒDTV.dmx.DMX_GET_STC (C macro)”Œc.DTV.dmx.DMX_GET_STC”hNt”auh1j%hjh²hh³Nh´NubhŒdesc”“”)”}”(hhh]”(hŒdesc_signature”“”)”}”(hŒ DMX_GET_STC”h]”hŒdesc_signature_line”“”)”}”(hŒ DMX_GET_STC”h]”hŒ desc_name”“”)”}”(hŒ DMX_GET_STC”h]”hŒ desc_sig_name”“”)”}”(hj?h]”hŒ DMX_GET_STC”…””}”(hjOh²hh³Nh´Nubah}”(h]”h ]”Œn”ah"]”h$]”h&]”uh1jMhjIubah}”(h]”h ]”(Œsig-name”Œdescname”eh"]”h$]”h&]”hÅhÆuh1jGhjCh²hh³hÇh´Kubah}”(h]”h ]”h"]”h$]”h&]”hÅhÆŒ add_permalink”ˆuh1jAŒsphinx_line_type”Œ declarator”hj=h²hh³hÇh´Kubah}”(h]”j4ah ]”(Œsig”Œ sig-object”eh"]”h$]”h&]”Œ is_multiline”ˆŒ _toc_parts”)Œ _toc_name”huh1j;h³hÇh´Khj8h²hubhŒ desc_content”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jyhj8h²hh³hÇh´Kubeh}”(h]”h ]”(Œc”Œmacro”eh"]”h$]”h&]”Œdomain”j‡Œobjtype”jˆŒdesctype”jˆŒnoindex”‰Œ noindexentry”‰Œnocontentsentry”‰uh1j6h²hhjh³Nh´Nubhý)”}”(hŒ7``int ioctl(int fd, DMX_GET_STC, struct dmx_stc *stc)``”h]”hŒliteral”“”)”}”(hj”h]”hŒ3int ioctl(int fd, DMX_GET_STC, struct dmx_stc *stc)”…””}”(hj˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj’ubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Khjh²hubeh}”(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Œ5``fd`` File descriptor returned by :c:func:`open()`. ”h]”(hŒterm”“”)”}”(hŒ``fd``”h]”j—)”}”(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 :c:func:`open()`.”h]”(hŒFile descriptor returned by ”…””}”(hjíh²hh³Nh´Nubh)”}”(hŒ:c:func:`open()`”h]”j—)”}”(hj÷h]”hŒopen()”…””}”(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/dvb/dmx-get-stc”Œ refdomain”j‡Œreftype”Œfunc”Œ refexplicit”‰Œrefwarn”‰Œ c:parent_key”Œsphinx.domains.c”Œ LookupKey”“”)”}”Œdata”]”(jŒ ASTIdentifier”“”)”}”Œ identifier”ŒDTV”sbN†”j)”}”j!Œdmx”sbN†”esbŒ reftarget”Œopen”uh1hh³hÇh´Khjí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ŒI``stc`` Pointer to :c:type:`dmx_stc` where the stc data is to be stored. ”h]”(jÐ)”}”(hŒ``stc``”h]”j—)”}”(hjFh]”hŒstc”…””}”(hjHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjDubah}”(h]”h ]”h"]”h$]”h&]”uh1jÏh³hÇh´Khj@ubjé)”}”(hhh]”hý)”}”(hŒ@Pointer to :c:type:`dmx_stc` where the stc data is to be stored.”h]”(hŒ Pointer to ”…””}”(hj^h²hh³Nh´Nubh)”}”(hŒ:c:type:`dmx_stc`”h]”j—)”}”(hjhh]”hŒdmx_stc”…””}”(hjjh²hh³Nh´Nubah}”(h]”h ]”(jj‡Œc-type”eh"]”h$]”h&]”uh1j–hjfubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jjj(Œdmx_stc”uh1hh³hÇh´Khj^ubhŒ$ where the stc data is to be stored.”…””}”(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Æ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ý)”}”(hXÃThis ioctl call returns the current value of the system time counter (which is driven by a PES filter of type :c:type:`DMX_PES_PCR `). Some hardware supports more than one STC, so you must specify which one by setting the :c:type:`num ` field of stc before the ioctl (range 0...n). The result is returned in form of a ratio with a 64 bit numerator and a 32 bit denominator, so the real 90kHz STC value is ``stc->stc / stc->base``.”h]”(hŒnThis ioctl call returns the current value of the system time counter (which is driven by a PES filter of type ”…””}”(hjºh²hh³Nh´Nubh)”}”(hŒ":c:type:`DMX_PES_PCR `”h]”j—)”}”(hjÄh]”hŒ DMX_PES_PCR”…””}”(hjÆh²hh³Nh´Nubah}”(h]”h ]”(jj‡Œc-type”eh"]”h$]”h&]”uh1j–hjÂubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”ˆŒrefwarn”‰jjj(Œ dmx_ts_pes”uh1hh³hÇh´K"hjºubhŒZ). Some hardware supports more than one STC, so you must specify which one by setting the ”…””}”(hjºh²hh³Nh´Nubh)”}”(hŒ:c:type:`num `”h]”j—)”}”(hjçh]”hŒnum”…””}”(hjéh²hh³Nh´Nubah}”(h]”h ]”(jj‡Œc-type”eh"]”h$]”h&]”uh1j–hjåubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”ˆŒrefwarn”‰jjj(Œdmx_stc”uh1hh³hÇh´K"hjºubhŒ© field of stc before the ioctl (range 0...n). The result is returned in form of a ratio with a 64 bit numerator and a 32 bit denominator, so the real 90kHz STC value is ”…””}”(hjºh²hh³Nh´Nubj—)”}”(hŒ``stc->stc / stc->base``”h]”hŒstc->stc / stc->base”…””}”(hjh²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²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´K+ubhý)”}”(hŒOn success 0 is returned.”h]”hŒOn success 0 is returned.”…””}”(hj9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K-hj(h²hubhý)”}”(hŒIOn error -1 is returned, and the ``errno`` variable is set appropriately.”h]”(hŒ!On error -1 is returned, and the ”…””}”(hjGh²hh³Nh´Nubj—)”}”(hŒ ``errno``”h]”hŒerrno”…””}”(hjOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjGubhŒ variable is set appropriately.”…””}”(hjGh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K/hj(h²hubhŒtabular_col_spec”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œspec”Œ|p{2.5cm}|p{15.0cm}|”uh1jgh³hÇh´K2hj(h²hubhŒtable”“”)”}”(hhh]”hŒtgroup”“”)”}”(hhh]”(hŒcolspec”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1j~hj{ubj)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1j~hj{ubhŒtbody”“”)”}”(hhh]”hŒrow”“”)”}”(hhh]”(hŒentry”“”)”}”(hhh]”hý)”}”(hŒ ``EINVAL``”h]”j—)”}”(hj¥h]”hŒEINVAL”…””}”(hj§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj£ubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K;hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jžhj›ubjŸ)”}”(hhh]”hý)”}”(hŒInvalid stc number.”h]”hŒInvalid stc number.”…””}”(hjÃh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K=hjÀubah}”(h]”h ]”h"]”h$]”h&]”uh1jžhj›ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j™hj–ubah}”(h]”h ]”h"]”h$]”h&]”uh1j”hj{ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1jyhjvubah}”(h]”h ]”h"]”h$]”h&]”uh1jthj(h²hh³Nh´Nubhý)”}”(hŒ]The generic error codes are described at the :ref:`Generic Error Codes ` chapter.”h]”(hŒ-The generic error codes are described at the ”…””}”(hjðh²hh³Nh´Nubh)”}”(hŒ':ref:`Generic Error Codes `”h]”hŒinline”“”)”}”(hjúh]”hŒGeneric Error Codes”…””}”(hjþh²hh³Nh´Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jühjøubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”jŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj(Œ gen-errors”uh1hh³hÇh´K?hjðubhŒ chapter.”…””}”(hjðh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K?hj(h²hubeh}”(h]”Œ return-value”ah ]”h"]”Œ return value”ah$]”h&]”uh1hÖhhØh²hh³hÇh´K+ubeh}”(h]”(hÕŒid1”eh ]”h"]”Œ dmx_get_stc”ah$]”Œ dmx_get_stc”ah&]”uh1hÖhhh²hh³hÇh´KŒ referenced”KŒexpect_referenced_by_name”}”j1hÊ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”jžŒ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”}”(j1hÕjjj°j­j¦j£j%j"j)j&uŒ nametypes”}”(j1ˆj‰j°‰j¦‰j%‰j)‰uh}”(hÕhØj.hØjhëj­jj4j=j£j³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”“”}”jjKs…”R”Œparse_messages”]”hŒsystem_message”“”)”}”(hhh]”hý)”}”(hŒ.Duplicate implicit target name: "dmx_get_stc".”h]”hŒ2Duplicate implicit target name: “dmx_get_stcâ€.”…””}”(hjÄh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hühjÁubah}”(h]”h ]”h"]”h$]”h&]”j.aŒlevel”KŒtype”ŒINFO”Œsource”hÇŒline”Kuh1j¿hhØh²hh³hÇh´KubaŒtransform_messages”]”jÀ)”}”(hhh]”hý)”}”(hhh]”hŒ1Hyperlink target "dmx-get-stc" is not referenced.”…””}”hjâsbah}”(h]”h ]”h"]”h$]”h&]”uh1hühjßubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”jÚŒsource”hÇŒline”Kuh1j¿ubaŒ transformer”NŒ include_log”]”Œ decoration”Nh²hub.