linux-4.4.1/kobject_set_name()
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#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 alrea...
* kobject to the system, you must call kobject_rename()...
* change the name of the kobject.
*/
int kobject_set_name(struct kobject *kobj, const char *f...
{
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]
終了行:
*参照元 [#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 alrea...
* kobject to the system, you must call kobject_rename()...
* change the name of the kobject.
*/
int kobject_set_name(struct kobject *kobj, const char *f...
{
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]
ページ名: