Documentation/driver-api/tty/tty_ioctl.rst GitHub 원문 ↗

Linux 6.18.37 · Driver API

TTY IOCTL Helpers

drivers/tty/tty_ioctl.c의 TTY ioctl helper 전체와 include/linux/tty.h의 tty_get_baud_rate를 연결하는 한국어 전문 번역입니다.

Source pathDocumentation/driver-api/tty/tty_ioctl.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약·해설

tty_ioctl.rst:1-10

TTY ioctl helper 문서는 `drivers/tty/tty_ioctl.c`의 kernel-doc 전체와 `include/linux/tty.h`의 `tty_get_baud_rate` 항목을 한 페이지에 결합합니다.

문서 구성
원문 줄핵심 내용
1-7`tty_ioctl.c` helper 전체
8-10`tty_get_baud_rate` reference

2. 영어 원문 전체

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

원문 전체 펼치기
1 .. SPDX-License-Identifier: GPL-2.0
2
3 =================
4 TTY IOCTL Helpers
5 =================
6
7 .. kernel-doc:: drivers/tty/tty_ioctl.c
8
9 .. kernel-doc:: include/linux/tty.h
10 :identifiers: tty_get_baud_rate
11

3. 한국어 전문 번역

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

TTY ioctl helper 전체

1-7

이 페이지는 `drivers/tty/tty_ioctl.c`에 있는 TTY ioctl helper의 kernel-doc을 포함합니다. identifier filter가 없으므로 해당 source file에서 문서화 대상으로 노출한 함수들이 함께 렌더링됩니다.

TTY ioctl 문서 원천
source path선택 방식
`drivers/tty/tty_ioctl.c`kernel-doc 전체

.. SPDX-License-Identifier: GPL-2.0

=================
TTY IOCTL Helpers
=================

.. kernel-doc:: drivers/tty/tty_ioctl.c

`tty_get_baud_rate`

8-10

`include/linux/tty.h`에서는 `tty_get_baud_rate` identifier를 별도로 문서화합니다. 이 helper는 TTY 설정에서 baud rate를 얻는 API이며, 정확한 매개변수와 반환 계약은 헤더의 kernel-doc에서 생성됩니다.

Baud rate helper
identifiersource path역할
`tty_get_baud_rate``include/linux/tty.h`TTY baud rate 조회


.. kernel-doc:: include/linux/tty.h
   :identifiers: tty_get_baud_rate