dbgetcharset

Description

Get the name of the client character set from the DBPROCESS structure.

Syntax

char *dbgetcharset(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/C uses to manage communications and data between the front end and server.

Returns

A pointer to the null-terminated name of the client character set, or NULL in case of error.

Usage

See also

dbcharsetconv, dblogin, dbopen, dbservcharset, DBSETLCHARSET