dbsprhead

Description

Place the server query results header into a buffer.

Syntax

RETCODE dbsprhead(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 query results header.

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

dbprhead, dbprrow, dbsetopt, dbspr1row, dbspr1rowlen, dbsprline, Options