National Institute of Advanced Industrial Science and Technology (AIST) This page is a page of the former research institute. We stopped updating on March 31.2001.
E-mail to webmaster (Japanese) E-mail to webmaster (English)
next up previous contents index
Next: キーインデックスファイル Up: UNIXシステムコール Previous: 低レベルメモリ管理

IOCTL

Unixはターミナルデバイスをioctlの2番目の引数に命令を設定することにより 制御することができるが、Euslispはインクルードファイルの参照や命令コードとしての 引数の論理和を省略するために、関数で備えている。 詳しい内容は、Unixのtermioのマニュアルを参照すること。

ターミナルの入出力制御には、TIOC*とTC*という2つの命令系がある。 自分のオペレーティングシステムにこれらの関数が実現されているがどうか について気を付けなさい。 基本的に、BSD系はTIOC*の入出力をサポートし、System5系がTC*を サポートしている。

SunOS 4.1 TIOC*とTC*の両方サポート
Solaris2 TC*のみサポート
mips, ultrix? TIOC*のみサポート

  unix:tiocgetp stream [sgttybuf] [関数]   unix:tiocsetp stream sgttybuf [関数]   unix:tiocsetn stream [sgttybuf] [関数]   unix:tiocgetd stream [sgttybuf] [関数]   unix:tiocflush stream [関数]   unix:tiocgpgrp stream integer [関数]   unix:tiocspgrp stream integer [関数]   unix:tiocoutq stream integer [関数]   unix:fionread stream integer [関数]   unix:tiocsetc stream buf [関数]   unix:tioclbis stream buf [関数]   unix:tioclbic stream buf [関数]   unix:tioclset stream buf [関数]   unix:tioclget stream buf [関数]   unix:tcseta stream buffer [関数]   unix:tcsets stream buffer [関数]   unix:tcsetsw stream buffer [関数]   unix:tcsetsf stream buffer [関数]   unix:tiocsetc stream buffer [関数]   unix:tcsetaf stream buffer [関数]   unix:tcsetaw stream buffer [関数]   unix:tcgeta stream buffer [関数]   unix:tcgets stream buffer [関数]   unix:tcgetattr stream buffer [関数]   unix:tcsetattr stream buffer [関数]

Hirofumi Nakagaki
Fri Mar 22 14:04:29 JST 1996