dbsprline

Description

Get a formatted string that contains underlining for the column names produced by dbsprhead.

Syntax

RETCODE dbsprline(dbproc, buffer, buf_len, linechar)
 
DBPROCESS     *dbproc;
char                    *buffer;
DBINT                  buf_len;
DBCHAR              linechar;

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 dbsprline results.

buf_len

The length of buffer, including its null terminator.

linechar

The character with which to “underline” column names produced by dbsprhead.

Returns

SUCCEED or FAIL.

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

Usage

See also

dbprhead, dbprrow, dbspr1row, dbspr1rowlen, dbsprhead, Options