init.c 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. /*++
  2. Copyright (c) 2013 Minoca Corp.
  3. This file is licensed under the terms of the GNU General Public License
  4. version 3. Alternative licensing terms are available. Contact
  5. info@minocacorp.com for details. See the LICENSE file at the root of this
  6. project for complete licensing information.
  7. Module Name:
  8. init.c
  9. Abstract:
  10. This module implements initialization of the Minoca C Library.
  11. Author:
  12. Evan Green 4-Mar-2013
  13. Environment:
  14. User Mode C Library
  15. --*/
  16. //
  17. // ------------------------------------------------------------------- Includes
  18. //
  19. #include "libcp.h"
  20. //
  21. // ---------------------------------------------------------------- Definitions
  22. //
  23. //
  24. // ------------------------------------------------------ Data Type Definitions
  25. //
  26. //
  27. // ----------------------------------------------- Internal Function Prototypes
  28. //
  29. //
  30. // -------------------------------------------------------------------- Globals
  31. //
  32. //
  33. // ------------------------------------------------------------------ Functions
  34. //
  35. __CONSTRUCTOR
  36. void
  37. ClpInitialize (
  38. void
  39. )
  40. /*++
  41. Routine Description:
  42. This routine initializes the C Runtime library. This routine is normally
  43. called by statically linked assembly within a program, and unless developing
  44. outside the usual paradigm should not need to call this routine directly.
  45. Arguments:
  46. None.
  47. Return Value:
  48. None.
  49. --*/
  50. {
  51. ClpInitializeEnvironment();
  52. ClpInitializeTimeZoneSupport();
  53. ClpInitializeFileIo();
  54. ClpInitializeSignals();
  55. ClpInitializeTypeConversions();
  56. return;
  57. }
  58. //
  59. // --------------------------------------------------------- Internal Functions
  60. //