.\" 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 "KOBJECT_SET_NAME" "9" "09 October 2005" "" ""
.SH NAME
kobject_set_name \- Set the name of an object
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int kobject_set_name (struct kobject * \fIkobj\fB, const char * \fIfmt\fB, \fI\&...\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIkobj\fB\fR
object.
.TP
\fB\fIfmt\fB\fR
format string used to build the name
.TP
\fB\fI\&...\fB\fR
variable arguments
.SH "DESCRIPTION"
.PP
If strlen(name) >= KOBJ_NAME_LEN, then use a dynamically allocated
string that \fIkobj\fR->k_name points to. Otherwise, use the static
\fIkobj\fR->name array.