#define lsr_base 0x0200000000000000 #define lsr_offset 0x14 #define lsr_parity 0x04 const int * lsr = lsr_base + lsr_offset; if ((* lsr) & lsr_parity) // parity error
Transfer unit: character-stream or block.
Transfer pattern: random or sequential.
Transfer predictability: synchronous or asynchronous.
Sharing: shareable or dedicated.
Transfer rates: low to high.
Transfer direction: read
seek()
interface method.
allocates: what gets access to what.
schedules: when accesses occur.
buffers: mismatch smoothing.
caches: temporary general buffering.
spools: long-term specific buffering.
handles errors: masking or propagating.
protects: everything from everything.
$ eject /dev/cdrw2 eject: unable to eject, last error: Inappropriate ioctl for device $
This page last modified on 2014 November 11. |