Index Index for
Section 9
Index Alphabetical
listing for M
Bottom of page Bottom of
page

makedev(9r)

NAME

makedev - General: Returns a dev_t

SYNOPSIS

#include <sys/types.h> dev_t makedev( int major, int minor );

ARGUMENTS

major Specifies the major number for the device. minor Specifies the minor number for the device.

DESCRIPTION

The makedev interface returns a device number of type dev_t based on the numbers specified for the major and minor arguments.

RETURN VALUES

Upon successful completion, makedev returns a dev_t that represents the major and minor device numbers passed as arguments.

SEE ALSO

Kernel Interfaces: major(9r), minor(9r)

Index Index for
Section 9
Index Alphabetical
listing for M
Top of page Top of
page