AquilaOS documentation
How it works, and its code
Loading...
Searching...
No Matches
devid Struct Reference

Which device: its kind (S_IFCHR or S_IFBLK) and numbers. More...

#include <dev.h>

Data Fields

mode_t type
devid_t major
devid_t minor

Detailed Description

Which device: its kind (S_IFCHR or S_IFBLK) and numbers.

Definition at line 21 of file dev.h.

Field Documentation

◆ major

devid_t devid::major

Definition at line 23 of file dev.h.

Referenced by kdev_get(), pty_get(), and vt_get().

◆ minor

◆ type

mode_t devid::type

Definition at line 22 of file dev.h.

Referenced by kdev_get(), kdev_read(), and kdev_write().


The documentation for this struct was generated from the following file:
  • kernel/include/dev/dev.h