PowerAda POSIX Ada Packages

From OC Systems Wiki!
Jump to: navigation, search

PowerAda provides a complete implementation of the POSIX/Ada interface packages as specified in IEEE Std 1003.5-1992. These packages provide a standard interface for Ada programs to the operating system. The package specifications may be viewed on-line as described above.

The complete documentation for these packages is available directly from the IEEE. To order copies of IEEE Std 1003.5-1992, contact:

The IEEE Service Center
445 Hoes Lane, PO Box 1331
Piscataway, NJ 08855-1331
Phone: 1-800-678-IEEE
Fax: 908-981-9667

The POSIX/Ada packages are summarized below. Full specifications are provided in "Specifications for Posix/Ada Packages" at the end of this Appendix.

  • POSIX, which provides types and values used by other POSIX/Ada packages, as well as, services for managing string lists, option sets, errors, and system identification.
  • POSIX_Process_Primitives, which provides types and operations that allow an application to start a new process and to terminate a process, including operations used by a parent process to find out about the termination of a child process.
  • POSIX_Unsafe_Process_Primitives, which gives the user the capability to create a new process, and to cause the current process to execute a new program.
  • POSIX_Signals, which provides operations for sending and catching signals.
  • POSIX_Process_Identification, which contains operations to identify self and parent processes, set and get the process group ID, set the process group ID for job control and create a session, get the real and the effective identity of the user and the group of the user, get a list of the supplementary groups of the user, and get the effective user login name.
  • POSIX_Process_Times, which provides operations to retrieve system time-accounting information.
  • POSIX_Process_Environment, which provides access to the environment that exists when a process is started, including the command line arguments, environment variables, and the current working directory.
  • POSIX_Calendar, which provides an analog to the facilities defined in the Ada package CALENDAR.
  • POSIX_Configurable_System_Limits, which provides operations to retrieve the configurable system limits, options, or versions at runtime.
  • POSIX_Permissions, which provides types and operations for file permissions.
  • POSIX_Files, which provides operations for creating and removing files and directories and modifying their characteristics.
  • POSIX_File_Status, which defines the standard attributes of files in the file system and provides operations for examining them.
  • POSIX_Configurable_File_Limits, which provides the application developer with execution-time access to implementation-defined system characteristics that may vary across the file system.
  • POSIX_IO, which provides all of the POSIX input/output operations.
  • POSIX_File_Locking, which provides advisory file record locking operations.
  • POSIX_Terminal_Functions, which provides operations to control the terminal.
  • POSIX_Supplement_to_Ada_IO, which provides supplementary facilities helpful to applications within a POSIX context that perform input and output operations using the Ada I/O packages.
  • POSIX_User_Database, which provides types and operations on the POSIX User Database which is a facility for storing information about users of the system, including the user ID, the user name, the primary group ID associated with the user, and the initial working directory and initial program.
  • POSIX_Group_Database, which provides types and operations on the POSIX Group Database which is a facility for storing information about the groups on the system, including group ID, the group name, and a list of user names who are members of the group.