SysTutorials

Linux Manual Pages › Section 9

sysfs_create_file_ns(9)

sysfs_create_file_ns - create an attribute file for an object with custom ns

Synopsis

int sysfs_create_file_ns(struct kobject *kobj, const struct attribute *attr, const void *ns);

Arguments

kobj

object we're creating for

attr

attribute descriptor

ns

namespace the new file should belong to

Copyright