suse man page for kobject_init_and_add

Query: kobject_init_and_add

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

KOBJECT_INIT_AND_ADD(9) 					   Driver Basics					   KOBJECT_INIT_AND_ADD(9)

NAME
kobject_init_and_add - initialize a kobject structure and add it to the kobject hierarchy
SYNOPSIS
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
Kernel Hackers Manual 2.6. July 2010 KOBJECT_INIT_AND_ADD(9)
Related Man Pages
device_create_vargs(9) - centos
struct_class(9) - centos
debugfs_create_bool(9) - suse
debugfs_create_u16(9) - suse
debugfs_create_u64(9) - suse
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Grant unprivileged user rights to see the output of echo|format but not modify disks
Migrating to UNIX
Cut command on RHEL 6.8 compatibility issues
SOCKS proxy & PAM configuration exposure