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

  1. .Na "dbexit" 
  2. .Aa
  3. .Fu
  4. .mc |
  5. Close and de-allocate all DBPROCESS structures, and clean up 
  6. any structures initialized by \f2dbinit()\f1.
  7. .Ih "DBPROCESSes, closing all"
  8. .Sy
  9. .mc
  10. .Sf "void dbexit()"
  11. .Co
  12. .Bl
  13. .I "dbexit()"
  14. calls
  15. .I "dbclose()"
  16. repeatedly
  17. for all allocated DBPROCESS structures.
  18. .I "dbclose()"
  19. cleans up any activity associated with a single DBPROCESS
  20. structure and de-allocates the space.
  21. .Bl
  22. You can use \f2dbclose()\f1 directly to close just a single DBPROCESS structure.
  23. .mc |
  24. .Bl
  25. \f2dbexit()\f1 also cleans up any structures initialized by \f2dbinit()\f1,
  26. releasing the memory associated with those structures.
  27. \f2It must be the last \*L call in any application that calls dbinit()\f1.
  28. .sp 0.5v
  29. Currently, \f2dbinit()\f1 is required only in the Macintosh environment.
  30. However, to ensure future compatibility and portability, it is strongly recommended
  31. that all applications call \f2dbinit()\f1 and \f2dbexit()\f1, no matter what their operating environment.
  32. .sp 0.5v
  33. For environments requiring \f2dbinit()\f1, the application must not make any other
  34. \*L call after calling \f2dbexit()\f1.
  35. .Bz
  36. .mc
  37. .Re
  38. .br
  39. None.
  40. .Sa
  41. dbclose,
  42. dbinit,
  43. dbopen
  44.