---
name: "driver_create_file"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/driver_create_file"
---

# driver\_create\_file(9)

create sysfs file for driver.

## NAME

driver\_create\_file - create sysfs file for driver.

## SYNOPSIS

**int driver\_create\_file(struct device\_driver \*** *drv***, const struct driver\_attribute \*** *attr***);**

## ARGUMENTS

*drv*

driver.

*attr*

driver attribute descriptor.

## COPYRIGHT
