dbname

Description

Return the name of the current database.

Syntax

char *dbname(dbproc)
 
DBPROCESS    *dbproc;

Parameters

dbproc

A pointer to the DBPROCESS structure that provides the connection for a particular front-end/server process. It contains all the information that DB-Library uses to manage communications and data between the front end and server.

Returns

A pointer to the null-terminated name of the current database.

Usage

See also

dbchange, dbuse