€•ú4Œ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Œ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”auh1jhjhž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”…””}”(hj;hžhhŸNh Nubah}”(h]”h ]”Œn”ah"]”h$]”h&]”uh1j9hj5ubah}”(h]”h ]”(Œsig-name”Œdescname”eh"]”h$]”h&]”h±h²uh1j3hj/hžhhŸh³h Kubah}”(h]”h ]”h"]”h$]”h&]”h±h²Œ add_permalink”ˆuh1j-Œsphinx_line_type”Œ declarator”hj)hžhhŸh³h Kubah}”(h]”j ah ]”(Œsig”Œ sig-object”eh"]”h$]”h&]”Œ is_multiline”ˆŒ _toc_parts”)Œ _toc_name”huh1j'hŸh³h Khj$hžhubhŒ desc_content”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jehj$hžhhŸh³h Kubeh}”(h]”h ]”(Œc”Œmacro”eh"]”h$]”h&]”Œdomain”jsŒobjtype”jtŒdesctype”jtŒnoindex”‰Œ noindexentry”‰Œnocontentsentry”‰uh1j"hž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”jsŒc-func”eh"]”h$]”h&]”uh1j‚hjáubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”Œ#userspace-api/media/dvb/dmx-get-stc”Œ refdomain”jsŒ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ƒ)”}”(hj2h]”hŒstc”…””}”(hj4hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hj0ubah}”(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 ”…””}”(hjJhžhhŸNh Nubh)”}”(hŒ:c:type:`dmx_stc`”h]”jƒ)”}”(hjTh]”hŒdmx_stc”…””}”(hjVhžhhŸNh Nubah}”(h]”h ]”(jïjsŒc-type”eh"]”h$]”h&]”uh1j‚hjRubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jûŒ refdomain”jsŒreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jjjŒdmx_stc”uh1hhŸh³h KhjJubhŒ$ where the stc data is to be stored.”…””}”(hjJhžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h KhjGubah}”(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 ]”(jïjsŒc-type”eh"]”h$]”h&]”uh1j‚hj®ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jûŒ refdomain”jsŒ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 ]”(jïjsŒc-type”eh"]”h$]”h&]”uh1j‚hjÑubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jûŒ refdomain”jsŒ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”…””}”(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ž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ŒOn success 0 is returned.”h]”hŒOn success 0 is returned.”…””}”(hj%hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h K-hjhžhubhé)”}”(hŒIOn error -1 is returned, and the ``errno`` variable is set appropriately.”h]”(hŒ!On error -1 is returned, and the ”…””}”(hj3hžhhŸNh Nubjƒ)”}”(hŒ ``errno``”h]”hŒerrno”…””}”(hj;hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hj3ubhŒ variable is set appropriately.”…””}”(hj3hžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h K/hjhžhubhŒtabular_col_spec”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œspec”Œ|p{2.5cm}|p{15.0cm}|”uh1jShŸh³h K2hjhžhubhŒtable”“”)”}”(hhh]”hŒtgroup”“”)”}”(hhh]”(hŒcolspec”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jjhjgubjk)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jjhjgubhŒ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‚hjubah}”(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€hjgubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1jehjbubah}”(h]”h ]”h"]”h$]”h&]”uh1j`hjhž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?hjhž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”}”jh¶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”jHŒ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”}”(jhÁhýhújœj™j’jjjjjuŒ nametypes”}”(jˆhý‰jœ‰j’‰j‰j‰uh}”(hÁhÄjhÄhúh×j™jj j)jjŸjj•jjuŒ 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”“”}”jVKs…”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&]”jaŒ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.