Scroll to navigation

SYSFS_ADD_FILE_TO_GR(9) The Filesystem for Exporting K SYSFS_ADD_FILE_TO_GR(9)

NAME

sysfs_add_file_to_group - add an attribute file to a pre-existing group.

SYNOPSIS

int sysfs_add_file_to_group(struct kobject * kobj, const struct attribute * attr, const char * group);

ARGUMENTS

struct kobject * kobj

object we're acting for.

const struct attribute * attr

attribute descriptor.

const char * group

group name.

COPYRIGHT

July 2017 Kernel Hackers Manual 4.12