*参照元 [#p6f1c484] #backlinks *説明 [#e41888fa] -パス: [[linux-4.4.1/lib/kobject.c]] -FIXME: これは何? --説明 **引数 [#m7e5a19c] -struct kobject *kobj -- --[[linux-4.4.1/kobject]] -const char *fmt -- -... -- **返り値 [#x9a643a9] -int -- **参考 [#fb178ddc] *実装 [#b58c5f82] /** * kobject_set_name - Set the name of a kobject * @kobj: struct kobject to set the name of * @fmt: format string used to build the name * * This sets the name of the kobject. If you have already added the * kobject to the system, you must call kobject_rename() in order to * change the name of the kobject. */ int kobject_set_name(struct kobject *kobj, const char *fmt, ...) { va_list vargs; int retval; - --[[linux-4.4.1/va_list]] va_start(vargs, fmt); retval = kobject_set_name_vargs(kobj, fmt, vargs); va_end(vargs); - --[[linux-4.4.1/va_start()]] --[[linux-4.4.1/kobject_set_name_vargs()]] --[[linux-4.4.1/va_end()]] return retval; } EXPORT_SYMBOL(kobject_set_name); - --[[linux-4.4.1/EXPORT_SYMBOL()]] *コメント [#h609afdb]