sysfs_rename_link(9)

sysfs_rename_link9

Rename symlink in object's directory.

Usage

int sysfs_rename_link(struct kobject * kobj, struct kobject * targ, const char * old, const char * new);

Arguments

kobj

object we're acting for.

targ

object we're pointing to.

old

previous name of the symlink.

new

new name of the symlink.

Overview

A helper function for the common rename symlink idiom.

From linux-manual-3.2 3.2.78-1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.