------------------------------------------------------------------------------ -- -- -- POSIX ADA LANGUAGE INTERFACES COMPONENTS -- -- -- -- P O S I X . O P T I O N 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 Unchecked_Conversion; with POSIX; package POSIX.Options is subtype Asynchronous_IO_Support is Boolean range Implementation_Options.ASYNCHRONOUS_IO_Support_Range'Range; subtype Change_Owner_Restriction is POSIX.Change_Owner_Restriction; subtype Filename_Truncation is POSIX.Filename_Truncation; subtype File_Synchronization_Support is Boolean range Implementation_Options.File_Synchronization_Support_Range'Range; subtype Job_Control_Support is POSIX.Job_Control_Support; subtype Mapped_Files_Support is Boolean range Implementation_Options.Mapped_Files_Support_Range'Range; subtype Memory_Locking_Support is Boolean range Implementation_Options.Memory_Locking_Support_Range'Range; subtype Memory_Range_Locking_Support is Boolean range Implementation_Options.Memory_Range_Locking_Support_Range'Range; subtype Memory_Protection_Support is Boolean range Implementation_Options.Memory_Protection_Support_Range'Range; subtype Message_Queues_Support is Boolean range Implementation_Options.Message_Queues_Support_Range'Range; subtype Mutex_Priority_Ceiling_Support is Boolean range Implementation_Options.Mutex_Priority_Ceiling_Support_Range'Range; subtype Mutex_Priority_Inheritance_Support is Boolean range Implementation_Options. Mutex_Priority_Inheritance_Support_Range'Range; subtype Mutexes_Support is Boolean range Implementation_Options.Mutex_Support_Range'Range; subtype Prioritized_IO_Support is Boolean range Implementation_Options.Prioritized_IO_Support_Range'Range; subtype Process_Scheduling_Support is Boolean range Implementation_Options.Process_Scheduling_Support_Range'Range; subtype Process_Shared_Support is Boolean range Implementation_Options.Process_Shared_Support_Range'Range; subtype Realtime_Signals_Support is Boolean range Implementation_Options.Realtime_Signals_Support_Range'Range; subtype Saved_IDs_Support is POSIX.Saved_IDs_Support; subtype Semaphores_Support is Boolean range Implementation_Options.Semaphores_Support_Range'Range; subtype Shared_Memory_Objects_Support is Boolean range Implementation_Options.Shared_Memory_Objects_Support_Range'Range; subtype Signal_Entries_Support is Boolean range Implementation_Options.Signal_Entries_Support_Range'Range; type Signal_Masking_Behavior is (Process_Only, Process_and_Task, Task_Only); function Sig_Mask_To_Behavior is new Unchecked_Conversion (Implementation_Options.Sig_Mask, Signal_Masking_Behavior); subtype Signal_Masking_Support is Signal_Masking_Behavior range Sig_Mask_To_Behavior (Implementation_Options. Signal_Masking_Support_Range'First) .. Sig_Mask_To_Behavior (Implementation_Options.Signal_Masking_Support_Range'Last); subtype Synchronized_IO_Support is Boolean range Implementation_Options.Synchronized_IO_Support_Range'Range; subtype Priority_Thread_Scheduling_Support is Boolean range Implementation_Options. Priority_Thread_Scheduling_Support_Range'Range; subtype Threads_Support is Boolean range Implementation_Options.Threads_Support_Range'Range; subtype Timers_Support is Boolean range Implementation_Options.Timers_Support_Range'Range; end POSIX.Options;