---
name: "register_sound_synth"
section: "9"
platform: "linux"
package: "linux-manual-2.6.18"
version: "2.6.18.dfsg.1-26etch2"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/register_sound_synth"
---

# register\_sound\_synth(9)

register a synth device

## NAME

register\_sound\_synth - register a synth device

## SYNOPSIS

**int register\_sound\_synth(const struct file\_operations \*** *fops***, int** *dev***);**

## ARGUMENTS

*fops*

File operations for the driver

*dev*

Unit number to allocate

## DESCRIPTION

Allocate a synth device. Unit is the number of the synth device requested. Pass -1 to request the next free synth unit. On success the allocated number is returned, on failure a negative error code is returned.

## COPYRIGHT
