kobject_rename(9)

kobject_rename9

Change the name of an object

Usage

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

Arguments

kobj

object in question.

new_name

object's new name

Overview

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.

Releases

3 releases since Debian 6.0 (Squeeze); the text changed 2 times.

  1. 6.0
  2. 7
  3. 8

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.