开发者

difference between character devices vs Terminal devices vs Streams

I am unable to figure out the exact difference between character devices vs Terminal devices vs Streams. Any开发者_运维知识库 help is very much appreciated.

Thanks & Regards,

Mousey.


Character devices are those which transmit one character at a time and are used for "stream" based I/O. Examples are modems, keyboards, mouse etc. They do not allow random access on data.

Streams - It is the communication framework of unix. it provides full-duplex mode of communication. Character special files, named pipes, and sockets are actually streams and not files.

Terminal devices - Not sure what you mean by "terminal devices". But I think you are refering to TTYs or tele-typewritters or computer terminals (monitors). Please be clear on this.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜