The difference between character devices and terminal devices versus threads

I cannot determine the exact difference between character devices and terminal devices vs Streams. Any help is greatly appreciated.

Thanks and respect,

mouse.

+3
source share
1 answer

Character devices are those that transmit one character at a time and are used for stream-based input / output. Examples are modems, keyboards, mice, etc. They do not allow random access to data.

Streams are a unix communication environment. It provides full duplex communication mode. Special character files, named pipes, and sockets are streams, not files.

. , . , TTY (). , .

+1

Source: https://habr.com/ru/post/1763739/


All Articles