dbspr1row

Description

Place one row of server query results into a buffer.

Syntax

RETCODE dbspr1row(dbproc, buffer, buf_len)
 
DBPROCESS     *dbproc;
char                    *buffer;
DBINT                  buf_len;

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.

buffer

A pointer to a character buffer to contain the dbspr1row results.

buf_len

The length of buffer, including its null terminator.

Returns

SUCCEED or FAIL.

NoteIf an error occurs, the contents of *buffer are undefined.

Usage

See also

dbclropt, dbisopt, dbprhead, dbprrow, dbspr1rowlen, dbsprhead, dbsprline, Options