---
name: "sysfs_create_file_ns"
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_create_file_ns"
---

# sysfs\_create\_file\_ns(9)

create an attribute file for an object with custom ns

## NAME

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
