home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer) / NeXT_Developer-3.3.iso / usr / sybase / doc / dbstrlen.man < prev    next >
Encoding:
Text File  |  1993-04-22  |  1.2 KB  |  45 lines

  1.  
  2.   1                       Version 4.0 -- 5/1/89                 dbstrlen
  3.   ______________________________________________________________________
  4.  
  5.   NAME:  dbstrlen
  6.  
  7.   FUNCTION:
  8.        Return the length, in characters, of the command buffer.
  9.  
  10.   SYNTAX:
  11.        int dbstrlen(dbproc)
  12.  
  13.        DBPROCESS *dbproc;
  14.  
  15.   COMMENTS:
  16.  
  17.        o dbstrlen() finds the length,  in  characters,  of  the  command
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.   dbstrlen                Version 4.0 -- 5/1/89                        2
  25.   ______________________________________________________________________
  26.          buffer.
  27.  
  28.        o Internally, the command buffer is a linked  list  of  non-null-
  29.          terminated   text   strings.    dbgetchar(),   dbstrcpy(),  and
  30.          dbstrlen() together provide a way to locate and copy  parts  of
  31.          the command buffer.
  32.  
  33.   PARAMETERS:
  34.        dbproc -  A pointer to the DBPROCESS structure that provides  the
  35.            connection for a particular front-end/SQL Server process.  It
  36.            contains all the information that DB-Library uses  to  manage
  37.            communications and data between the front end and SQL Server.
  38.  
  39.   RETURNS:
  40.        The length, in characters, of the command buffer.
  41.  
  42.   SEE ALSO:
  43.        dbcmd, dbfcmd, dbfreebuf, dbgetchar, dbstrcpy
  44.  
  45.