kobject_rename

Langue: en

Version: May 2009 (fedora - 06/07/09)

Section: 9 (Appels noyau Linux)

NAME

kobject_rename - change the name of an object

SYNOPSIS

int kobject_rename(struct kobject * kobj, const char * new_name);

ARGUMENTS

kobj

object in question.

new_name

object's new name

DESCRIPTION

It is the responsibility of the caller to provide mutual exclusion between two different calls of kobject_rename on the same kobject and to ensure that new_name is valid and won't conflict with other kobjects.