---
name: "sysfs_add_file_to_group"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/sysfs_add_file_to_group"
---

# sysfs\_add\_file\_to\_group(9)

add an attribute file to a pre-existing group.

## 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

*kobj*

object we're acting for.

*attr*

attribute descriptor.

*group*

group name.

## COPYRIGHT
