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

  1. .Na "dbsetlogintime" 
  2. .Aa
  3. .Fu
  4. Set the number of seconds that \*L waits for a 
  5. \*S response to a request for a DBPROCESS connection.
  6. .Ih "time \*L waits for a DBPROCESS connection, setting"
  7. .Sy
  8. .Sf "RETCODE dbsetlogintime(seconds)"
  9. .Sp "int" "seconds"
  10. .Co
  11. .Bl
  12. This routine sets the length of time in seconds that \*L
  13. will wait for a login response after calling
  14. \f2dbopen()\f1.
  15. The default timeout value is 60 seconds.
  16. .Bz
  17. .Pa
  18. .Pi seconds
  19. The timeout value\(emthe
  20. number of seconds that \*L waits for a login response
  21. before timing out.
  22. A timeout value of 0 represents an infinite timeout period.
  23. .in -.375i
  24. .Re
  25. .br
  26. SUCCEED or FAIL.
  27. .Sa
  28. dberrhandle,
  29. dbsettime
  30.