---
name: "AuServerName"
section: "3x"
platform: "linux"
package: "nas"
version: "1.2p5-3"
release: "Debian 2.0 (Hamm)"
platforms: ["linux"]
url: "https://new.carta.tech/AuServerName/3x"
---

# AuServerName(3x)

get name of the server to use.

## Name

**AuServerName** - get name of the server to use.

## Synopsis

\#include \<audio/audiolib.h\>

char \***AuServerName**(*string*)\
\
     char \**string*;

## Arguments

- *string*

  Specifies the default name.

## Description

**AuServerName** returns the name of the server to use or an empty string if it can not determine the proper value. If *string* isn't NULL or a pointer to NUL, **AuServerName** returns *string*, otherwise, **AuServerName** looks in the enviroment for **AUDIOSERVER** or if thats not set, **DISPLAY**.

## See Also

**AuGetErrorDatabaseText**, **AuGetErrorText**, **AuSetErrorHandler**, **AuSetIOErrorHandler**, **AuSynchronize**.

audiolib - **Network Audio System** C Language Interface
