dbstrlen

Returns the length, in characters, of the command buffer.

Syntax

INT dbstrlen ( PDBPROCESS dbproc );

where

dbproc
Is the DBPROCESS structure that is the handle for a particular workstation/ SQL Server process. It contains all the information that DB-Library uses to manage communications and data between the workstation and SQL Server.

Returns

The length, in characters, of the command buffer.

Remarks

Internally, the command buffer is a linked list of non-terminated text strings. Parts of the command buffer can be located and copied using the dbgetchar, dbstrcpy, and dbstrlen functions.

See Also

dbcmd, dbfcmd, dbfreebuf, dbgetchar, dbstrcpy