dbstrlen

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

Syntax

INT dbstrlen ( PDBPROCESS dbproc );

Arguments
dbproc
Is the DBPROCESS structure that is the handle for a particular workstation/ Microsoft® 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 nonterminated text strings. Parts of the command buffer can be located and copied using the dbgetchar, dbstrcpy, and dbstrlen functions.

See Also
dbcmd dbgetchar
dbfcmd dbstrcpy
dbfreebuf  

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.