.TH major() "" "" "Internal Kernel Routine"
.PC "Extract major-device number"
.B "#include <sys/stat.h>"
.B "#include <sys/types.h>"
\fBint major(\fIdev\^\fB)\fR
\fBdev_t \fIdev\^\fB;\fR
.PP
The macro
.B major()
returns a device's major number.
.SH "See Also"
.B
internal kernel routine
.R
