Rechercher une page de manuel
kobject_init_and_add
Langue: en
Version: May 2009 (fedora - 06/07/09)
Section: 9 (Appels noyau Linux)
NAME
kobject_init_and_add - initialize a kobject structure and add it to the kobject hierarchySYNOPSIS
- int kobject_init_and_add(struct kobject * kobj, struct kobj_type * ktype, struct kobject * parent, const char * fmt, ...);
ARGUMENTS
kobj
- pointer to the kobject to initialize
ktype
- pointer to the ktype for this kobject.
parent
- pointer to the parent of this kobject.
fmt
- the name of the kobject.
...
- variable arguments
DESCRIPTION
This function combines the call to kobject_init and kobject_add. The same type of error handling after a call to kobject_add and kobject lifetime rules are the same here.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre