.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "KSET_ADD" "9" "09 October 2005" "" ""
.SH NAME
kset_add \- add a kset object to the hierarchy.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int kset_add (struct kset * \fIk\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIk\fB\fR
kset.
.SH "DESCRIPTION"
.PP
Simply, this adds the kset's embedded kobject to the
hierarchy.
We also try to make sure that the kset's embedded kobject
has a parent before it is added. We only care if the embedded
kobject is not part of a kset itself, since \fBkobject_add\fR
assigns a parent in that case.
If that is the case, and the kset has a controlling subsystem,
then we set the kset's parent to be said subsystem.