home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer) / NeXT_Developer-3.3.iso / NextLibrary / Documentation / Sybase / DBLIB / Section2 / dbgettime.nr < prev    next >
Encoding:
Text File  |  1993-04-22  |  703 b   |  32 lines

  1. .Na "DBGETTIME" 
  2. .Aa
  3. .Fu
  4. Return the number of seconds that \*L will wait for a \*S response
  5. to a SQL command.
  6. .Ih "time \*L waits for a \*S response, getting"
  7. .Sy
  8. .Sf "int DBGETTIME()"
  9. .Co
  10. .Bl
  11. This routine returns the length of time in seconds that \*L
  12. will wait for a \*S response during
  13. calls to
  14. .I "dbsqlexec(), dbsqlok(), dbresults(),"
  15. and
  16. .I "dbnextrow()."
  17. The default timeout value is 0, which
  18. represents an infinite timeout period.
  19. .Bl
  20. The program can call
  21. .I "dbsettime()"
  22. to change the timeout value.
  23. .Bz
  24. .in -.375i
  25. .Re
  26. .br
  27. The timeout value\(emthe number of seconds that \*L waits for a \*S response
  28. before timing out.
  29. A timeout value of 0 represents an infinite timeout period.
  30. .Sa
  31. dbsettime
  32.