1KOBJECT_SET_NAME(9) Driver Basics KOBJECT_SET_NAME(9)
2
3
4
6 kobject_set_name - Set the name of a kobject
7
9 int kobject_set_name(struct kobject * kobj, const char * fmt, ...);
10
12 kobj
13 struct kobject to set the name of
14
15 fmt
16 format string used to build the name
17
18 ...
19 variable arguments
20
22 This sets the name of the kobject. If you have already added the
23 kobject to the system, you must call kobject_rename in order to change
24 the name of the kobject.
25
27Kernel Hackers Manual 2.6. November 2011 KOBJECT_SET_NAME(9)