------------------------------------------------------------------------------ -- -- -- POSIX ADA LANGUAGE INTERFACES COMPONENTS -- -- -- -- P O S I X . L I M I T S -- -- -- -- S p e c -- -- -- -- $Revision: 1.3 $ -- -- -- -- -- -- This package specification is part of the Florida State -- -- University (FSU) prototype implementation of IEEE Draft Std -- -- 1003.5b, for use with the Gnu NYU Ada Translator (GNAT) and the -- -- FSU Gnu Ada Runtime Library (GNARL). -- -- -- -- This package specification contains some text extracted from IEEE -- -- Draft Std 1003.5b/D5 (August 1995), IEEE Draft Standard for -- -- Information Technology -- POSIX Ada Language Interfaces -- Part 1: -- -- Binding for System Application Program Interface, Amendment 1: -- -- Realtime Extensions, copyright 1995 by the Institute of Electrical -- -- and Electronics Engineers, Inc. -- -- -- -- This package specification differs from the package specifications -- -- in IEEE Draft Std 1003.5/D5 in several respects. For example, it -- -- includes additional with-clause dependences, comments, and -- -- complete definitions for certain types, ranges, and constants that -- -- are left implementation-defined in the draft standard. These -- -- differences appear to be within the scope of variation which the -- -- draft standard permits for implementations, but no warranty is -- -- made to that effect. -- -- -- -- These package specifications are distributed in the hope that they -- -- will be useful, but WITHOUT ANY WARRANTY; without even the implied -- -- warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- The package specifications in IEEE Draft Std 1003.5b/D5 represent -- -- only a portion of the document and are not to be interpreteted -- -- outside the context of the document, nor is the draft document to -- -- be interpreted as an approved consensus standard. -- -- -- -- When IEEE Std 1003.5b is approved, it must be used in conjunction -- -- with the final version of the package specifications contained in -- -- that document in order to claim conformance. The IEEE takes no -- -- responsibility for and will assume no liability for damages -- -- resulting from the reader's misinterpretation of said information -- -- resulting from its out-of-context nature. To order copies of the -- -- IEEE Draft Std 1003.5/D5, please contact the IEEE Service Center -- -- at 445 Hoes Lane, PO Box 1331, Piscataway, NJ 08855-1331; via -- -- phone at 1-800-678-IEEE, 908-981-1393; or via fax at 908-981-9667. -- -- -- -- For bodies to these packages, and other free products of the FSU -- -- POSIX/Ada Real-Time project, see the ftp site "ftp.cs.fsu.edu", -- -- subdirectory "pub/PART", or send e-mail to "part@ada.cs.fsu.edu". -- -- -- ------------------------------------------------------------------------------ with POSIX; with Implementation_Limits; package POSIX.Limits is -- Portable System Limits Portable_Argument_List_Maximum : Natural renames POSIX.Portable_Argument_List_Maximum; Portable_Asynchronous_IO_Maximum : constant Natural := 1; Portable_Child_Processes_Maximum : Natural renames POSIX.Portable_Child_Processes_Maximum; Portable_Clock_Resolution_Minimum : constant := 20_000_000; Portable_Filename_Maximum : Natural -- original constant natural renames POSIX.Portable_Filename_Limit_Maximum; Portable_Groups_Maximum : Natural renames POSIX.Portable_Groups_Maximum; Portable_Input_Line_Maximum : POSIX.IO_Count renames POSIX.Portable_Input_Line_Limit_Maximum; Portable_Input_Queue_Maximum : POSIX.IO_Count renames POSIX.Portable_Input_Queue_Limit_Maximum; Portable_Links_Maximum : Natural renames POSIX.Portable_Link_Limit_Maximum; Portable_List_IO_Maximum : constant Natural := 2; Portable_Message_Priority_Maximum : constant Natural := 32; Portable_Open_Files_Maximum : Natural renames POSIX.Portable_Open_Files_Maximum; Portable_Open_Message_Queues_Maximum : constant Natural := 8; Portable_Pathname_Maximum : Natural renames POSIX.Portable_Pathname_Limit_Maximum; Portable_Pipe_Length_Maximum : POSIX.IO_Count renames POSIX.Portable_Pipe_Limit_Maximum; Portable_Queued_Signals_Maximum : constant Natural := 32; Portable_Realtime_Signals_Maximum : constant Natural := 8; Portable_Semaphores_Maximum : constant Natural := 256; Portable_Semaphores_Value_Maximum : constant Natural := 32_767; Portable_Streams_Maximum : Natural renames POSIX.Portable_Stream_Maximum; Portable_Timer_Overruns_Maximum : constant Natural := 32; Portable_Timers_Maximum : constant Natural := 32; Portable_Time_Zone_String_Maximum : Natural renames POSIX.Portable_Time_Zone_String_Maximum; -- Configurable Limits subtype Argument_List_Maxima is POSIX.Argument_List_Maxima; subtype Asynchronous_IO_Maxima is Natural range Implementation_Limits. Asynchronous_IO_Maxima_Range'Range; subtype Asynchronous_IO_Priority_Delta_Maxima is Natural range Implementation_Limits. Asynchronous_IO_Priority_Delta_Maxima_Range'Range; subtype Child_Processes_Maxima is POSIX.Child_Processes_Maxima; subtype Filename_Maxima is POSIX.Filename_Limit_Maxima; subtype Groups_Maxima is POSIX.Groups_Maxima; subtype Input_Line_Maxima is POSIX.Input_Line_Limit_Maxima; subtype Input_Queue_Maxima is POSIX.Input_Queue_Limit_Maxima; subtype Links_Maxima is POSIX.Link_Limit_Maxima; subtype List_IO_Maxima is Natural range Implementation_Limits.List_IO_Maxima_Range'Range; subtype Open_Message_Queues_Maxima is Natural range Implementation_Limits. Open_Message_Queue_Maxima_Range'Range; subtype Message_Priority_Maxima is Natural range Implementation_Limits. Message_Priority_Maxima_Range'Range; subtype Open_Files_Maxima is POSIX.Open_Files_Maxima; subtype Page_Size_Range is Natural range Implementation_Limits. Page_Size_Maxima_Range'Range; subtype Pathname_Maxima is POSIX.Pathname_Limit_Maxima; subtype Pipe_Length_Maxima is POSIX.Pipe_Limit_Maxima; subtype Queued_Signals_Maxima is Natural range Implementation_Limits. Queued_Signals_Maxima_Range'Range; subtype Realtime_Signals_Maxima is Natural range Implementation_Limits. Realtime_Signals_Maxima_Range'Range; subtype Semaphores_Maxima is Natural range Implementation_Limits. Semaphores_Maxima_Range'Range; subtype Semaphores_Value_Maxima is Natural range Implementation_Limits. Semaphores_Value_Maxima_Range'Range; subtype Streams_Maxima is POSIX.Stream_Maxima; subtype Timer_Overruns_Maxima is Natural range Implementation_Limits. Timer_Overruns_Maxima_Range'Range; subtype Timers_Maxima is Natural range Implementation_Limits.Timers_Maxima_Range'Range; subtype Time_Zone_String_Maxima is POSIX.Time_Zone_String_Maxima; end POSIX.Limits;