dbcmd

Description

Add text to the DBPROCESS command buffer.

Syntax

RETCODE dbcmd(dbproc, cmdstring)
 
DBPROCESS    *dbproc;
char                   *cmdstring;

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.

cmdstring

A null-terminated character string that dbcmd copies into the command buffer.

Returns

SUCCEED or FAIL.

Usage


Consecutive calls to dbcmd


Clearing the command buffer

See also

dbfcmd, dbfreebuf, dbgetchar, dbstrcpy, dbstrlen, Options