← Documents Documentation/userspace-api/media/dvb/dmx-stop.rst GitHub 원문 ↗

Linux 6.18.37 · Userspace API / Media / DVB / Demux

DMX_STOP

DMX_START로 실행한 Demux 필터링을 중지합니다.

Source pathDocumentation/userspace-api/media/dvb/dmx-stop.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약·해설

dmx-stop.rst:1-44

DMX_STOP은 SET_FILTER 또는 SET_PES_FILTER로 구성하고 START로 실행한 실제 필터링 동작을 멈춥니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2 .. c:namespace:: DTV.dmx
3
4 .. _DMX_STOP:
5
6 ========
7 DMX_STOP
8 ========
9
10 Name
11 ----
12
13 DMX_STOP
14
15 Synopsis
16 --------
17
18 .. c:macro:: DMX_STOP
19
20 ``int ioctl(int fd, DMX_STOP)``
21
22 Arguments
23 ---------
24
25 ``fd``
26 File descriptor returned by :c:func:`open()`.
27
28 Description
29 -----------
30
31 This ioctl call is used to stop the actual filtering operation defined
32 via the ioctl calls :ref:`DMX_SET_FILTER` or :ref:`DMX_SET_PES_FILTER` and
33 started via the :ref:`DMX_START` command.
34
35 Return Value
36 ------------
37
38 On success 0 is returned.
39
40 On error -1 is returned, and the ``errno`` variable is set
41 appropriately.
42
43 The generic error codes are described at the
44 :ref:`Generic Error Codes <gen-errors>` chapter.
45

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

이름과 호출 형식

1-20

이 문서는 GFDL-1.1-no-invariants-or-later 라이선스와 `DTV.dmx` C namespace를 사용하며 `DMX_STOP` ioctl을 설명합니다.

호출 형식은 `int ioctl(int fd, DMX_STOP)`입니다.

.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
.. c:namespace:: DTV.dmx

.. _DMX_STOP:

========
DMX_STOP
========

Name
----

DMX_STOP

Synopsis
--------

.. c:macro:: DMX_STOP

``int ioctl(int fd, DMX_STOP)``

필터링 중지

21-33

`fd`는 `open()`이 반환한 file descriptor입니다.

이 ioctl은 `DMX_SET_FILTER` 또는 `DMX_SET_PES_FILTER`로 정의하고 `DMX_START`로 시작한 실제 필터링 동작을 중지합니다.

Demux 필터 수명
DMX_SET_FILTER 또는 DMX_SET_PES_FILTER로 구성DMX_START로 필터링 시작필터 데이터 처리DMX_STOP으로 필터링 중지

구성·시작·중지 호출의 관계입니다.


Arguments
---------

``fd``
    File descriptor returned by :c:func:`open()`.

Description
-----------

This ioctl call is used to stop the actual filtering operation defined
via the ioctl calls :ref:`DMX_SET_FILTER` or :ref:`DMX_SET_PES_FILTER` and
started via the :ref:`DMX_START` command.

반환값

34-44

성공하면 0을 반환합니다.

오류가 발생하면 -1을 반환하고 `errno`를 적절히 설정합니다. 공통 오류 코드는 `Generic Error Codes <gen-errors>` 장에서 설명합니다.


Return Value
------------

On success 0 is returned.

On error -1 is returned, and the ``errno`` variable is set
appropriately.

The generic error codes are described at the
:ref:`Generic Error Codes <gen-errors>` chapter.