---
name: "gser_bind_config"
section: "9"
platform: "linux"
package: "linux-manual-3.2"
version: "3.2.78-1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/gser_bind_config"
---

# gser\_bind\_config(9)

add a generic serial function to a configuration

## NAME

gser\_bind\_config - add a generic serial function to a configuration

## SYNOPSIS

**int gser\_bind\_config(struct usb\_configuration \*** *c***, u8** *port\_num***);**

## ARGUMENTS

*c*

the configuration to support the serial instance

*port\_num*

/dev/ttyGS\* port this interface will use

## CONTEXT

single threaded during gadget setup

## DESCRIPTION

Returns zero on success, else negative errno.

Caller must have called *gserial\_setup*() with enough ports to handle all the ones it binds. Caller is also responsible for calling *gserial\_cleanup*() before module unload.

## AUTHOR

**David Brownell** \<dbrownell@users.sourceforge.net\>

Author.

## COPYRIGHT
