正在加载图片...
WANT STANDARD INTERFACES TO DEVICES o Block Devices:e.g.disk drives,tape drives,Cdrom ·Access blocks of data Commands include open(),read(),write(),seek() Raw I/O or file-system access Memory-mapped file access possible Character Devices:e.g.keyboards,mice,serial ports,some USB devices Single characters at a time Commands include get(),put ( Libraries layered on top allow line editing o Network Devices:e.g.Ethernet,Wireless,Bluetooth Different enough from block/character to have own interface Unix and Windows include socket interface o Separates network protocol from network operation o Includes select (functionality Usage:pipes,FIFOs,streams,queues,mailboxesWANT STANDARD INTERFACES TO DEVICES  Block Devices: e.g. disk drives, tape drives, Cdrom  Access blocks of data  Commands include open(), read(), write(), seek()  Raw I/O or file-system access  Memory-mapped file access possible  Character Devices: e.g. keyboards, mice, serial ports, some USB devices  Single characters at a time  Commands include get(), put()  Libraries layered on top allow line editing  Network Devices: e.g. Ethernet, Wireless, Bluetooth  Different enough from block/character to have own interface  Unix and Windows include socket interface  Separates network protocol from network operation  Includes select() functionality  Usage: pipes, FIFOs, streams, queues, mailboxes
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有