devfs_get_maj_min

Name

devfs_get_maj_min --  Get the major and minor numbers for a devfs entry.

Synopsis

int devfs_get_maj_min (devfs_handle_t de, unsigned int * major, unsigned int * minor);

Arguments

de

The handle to the device entry.

major

The major number is written here. This may be NULL.

minor

The minor number is written here. This may be NULL.

Description

Returns 0 on success, else a negative error code.