Module null

Module null 

Source
Expand description

Null character device

Behavior:

  • Read: always returns EOF (0 bytes)
  • Write: discards all data and reports success
  • can_read/can_write: always true

It is registered in the DeviceManager with the name "null", and is expected to appear as /dev/null via DevFS.

Structs§

NullDevice

Statics§

__DRIVER_INITCALL__ 🔒

Functions§

register_null_device 🔒