Rechercher une page de manuel
minor.9freebsd
Langue: en
Version: 308733 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
BSD mandoc
NAME
device_ids major minor umajor uminor - calculate device idsSYNOPSIS
In sys/types.h In sys/systm.h Ft int Fn major struct cdev *dev Ft int Fn minor struct cdev *dev Ft int Fn umajor dev_t id Ft int Fn uminor dev_t idDESCRIPTION
The family of functions take either the raw device ID, Fa id , or a pointer to the device structure, Fa dev , and return the integer value that is the major or minor device ID as requested.The actual major and minor device IDs are values masked from of the raw device ID. For details on the actual calculations used to determine the major or minor IDs see the actual source in kern_conf.c
RETURN VALUES
An integer greater than zero and less than NUMCDEVSW Fn major and Fn minor will return NODEV if the device is invalid.AUTHORS
This manual page was written by An Chad David Aq davidc@acns.ab.ca .Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre