SYSFS_RENAME_LINK(9) The Filesystem for Exporting K SYSFS_RENAME_LINK(9)NAMEsysfs_rename_link - rename symlink in object's directory.
SYNOPSIS
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.
DESCRIPTION
A helper function for the common rename symlink idiom.
COPYRIGHTKernel Hackers Manual 3.8. June 2014 SYSFS_RENAME_LINK(9)