最終更新:2013-07-17 (水) 14:14:43 (3935d)  

tty_ioctl
Top / tty_ioctl

端末とシリアルラインの ioctl (入出力制御)

http://linuxjm.sourceforge.jp/html/LDP_man-pages/man4/tty_ioctl.4.html

引数

TCGETS?

  • struct termios *argp
  • 現在のシリアルポートの設定を取得する。

TCSETS?

  • const struct termios *argp
  • 現在のシリアルポートの設定を変更する。

TCSETSW?

  • const struct termios *argp
  • 排出 (drain) を行うための出力バッファの使用を許可し、 現在のシリアルポートの設定を変更する。

TCSETSF?

  • const struct termios *argp 排出 (drain) を行うための出力バッファの使用を許可し、 処理していない入力を破棄して、 現在のシリアルポートの設定を変更する。

関連