suse man page for kobject_create_and_add

Query: kobject_create_and_add

OS: suse

Section: 9

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

KOBJECT_CREATE_AND_A(9) 					   Driver Basics					   KOBJECT_CREATE_AND_A(9)

NAME
kobject_create_and_add - create a struct kobject dynamically and register it with sysfs
SYNOPSIS
struct kobject * kobject_create_and_add(const char * name, struct kobject * parent);
ARGUMENTS
name the name for the kset parent the parent kobject of this kobject, if any.
DESCRIPTION
This function creates a kobject structure dynamically and registers it with sysfs. When you are finished with this structure, call kobject_put and the structure will be dynamically freed when it is no longer being used. If the kobject was not able to be created, NULL will be returned.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 KOBJECT_CREATE_AND_A(9)
Related Man Pages
device_create_vargs(9) - centos
device_create_with_groups(9) - centos
debugfs_create_bool(9) - suse
debugfs_create_u16(9) - suse
debugfs_create_u64(9) - suse
Similar Topics in the Unix Linux Community
Grant unprivileged user rights to see the output of echo|format but not modify disks
Migrating to UNIX
Docker learning Phase-I
The Future of the PM (Private Message) System at UNIX.com
32 bit process addressing more than 4GB