开发者

difference between character devices vs Terminal devices vs Streams

开发者 https://www.devze.com 2023-01-15 00:58 出处:网络
I am unable to figure out the exact difference between character devices vs Terminal devices vs Streams. Any开发者_运维知识库 help is very much appreciated.

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

精彩评论

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