Appendix C. The Predefined Library

This appendix lists the units in the Ada 95 predefined library, and indicates whether a unit is supported or not. The answer "Yes" means the unit is supported in the default profile, and maybe in the other profiles. The answer "Restricted..." means the unit is not supported in any profile because of a built-in restriction.

Table C-1. Predefined Library Units

Unit NameSupported?
AdaYes
Ada.Asynchronous_Task_ControlYes
Ada.CalendarYes[a][b]
Ada.CharactersYes
Ada.Characters.HandlingYes
Ada.Characters.Latin_1Yes
Ada.Characters.Wide_Latin_1Yes
Ada.Command_LineNot applicable
Ada.DecimalYes
Ada.Direct_IOYes[b]
Ada.Dynamic_PrioritiesYes
Ada.ExceptionsYes
Ada.FinalizationRestricted No_Implicit_Heap_Allocations
Ada.InterruptsYes
Ada.Interrupts.NamesYes
Ada.IO_ExceptionsYes
Ada.NumericsYes
Ada.Numerics.Complex_Elementary_FunctionsYes
Ada.Numerics.Complex_TypesYes
Ada.Numerics.Discrete_RandomNot applicable
Ada.Numerics.Elementary_FunctionsYes
Ada.Numerics.Float_RandomNot applicable
Ada.Numerics.Generic_Complex_Elementary_FunctionsYes
Ada.Numerics.Generic_Complex_TypesYes
Ada.Numerics.Generic_Elementary_FunctionsYes
Ada.Real_TimeYes
Ada.Sequential_IOYes[b]
Ada.Storage_IOYes
Ada.StreamsRestricted No_Dispatch
Ada.Streams.Stream_IORestricted No_Dispatch
Ada.StringsYes
Ada.Strings.BoundedYes
Ada.Strings.FixedYes
Ada.Strings.MapsYes
Ada.Strings.Maps.ConstantsYes
Ada.Strings.UnboundedNot available
Ada.Strings.Wide_BoundedRestricted No_Implicit_Heap_Allocations
Ada.Strings.Wide_FixedRestricted No_Implicit_Heap_Allocations
Ada.Strings.Wide_MapsRestricted No_Implicit_Heap_Allocations
Ada.Strings.Wide_Maps.Wide_ConstantsRestricted No_Implicit_Heap_Allocations
Ada.Strings.Wide_UnboundedRestricted No_Implicit_Heap_Allocations
Ada.Synchronous_Task_ControlYes
Ada.TagsRestricted No_Dispatch
Ada.Task_AttributesNo
Ada.Task_IdentificationYes
Ada.Text_IOYes[b]
Ada.Text_IO.Complex_IONot applicable
Ada.Text_IO.EditingNot applicable
Ada.Text_IO.Text_StreamsNot applicable
Ada.Unchecked_ConversionYes
Ada.Unchecked_DeallocationRestricted No_Unchecked_Deallocation
Ada.Wide_Text_IONot applicable
Ada.Wide_Text_IO.Complex_IONot applicable
Ada.Wide_Text_IO.EditingNot applicable
Ada.Wide_Text_IO.Text_StreamsNot applicable
CalendarYes[a][b]
Direct_IOYes[b]
IO_ExceptionsYes
InterfacesYes
Interfaces.CYes
Interfaces.C.PointersYes
Interfaces.C.StringsYes
Interfaces.COBOLNot applicable
Interfaces.FORTRANNot applicable
Machine_CodeYes
Sequential_IOYes[b]
SystemYes
System.Address_to_Access_ConversionsYes
System.Machine_CodeYes
System.RPCNot available (depends on Ada.Streams)
System.Storage_ElementsYes
System.Storage_PoolsNot available (depends on Ada.Finalization)
Text_IOYes
Unchecked_ConversionYes
Unchecked_DeallocationRestricted No_Unchecked_Deallocation
Notes:
a. Restricted to POSIX date range, which is Jan 1, 1970 to Jan 19, 2038
b. When supported by appropriate system calls