---
name: "class_create"
section: "9"
platform: "linux"
package: "linux-manual-2.6.26"
version: "2.6.26-29"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/class_create"
---

# class\_create(9)

create a struct class structure

## NAME

class\_create - create a struct class structure

## SYNOPSIS

**struct class \* class\_create(struct module \*** *owner***, const char \*** *name***);**

## ARGUMENTS

*owner*

pointer to the module that is to “own” this struct class

*name*

pointer to a string for the name of this class.

## DESCRIPTION

This is used to create a struct class pointer that can then be used in calls to **device\_create**.

Note, the pointer created here is to be destroyed when finished by making a call to **class\_destroy**.

## COPYRIGHT
