< Ada Programming < Platform

POSIX.5 is an IEEE (IEEE Standard 1003.5b-1996) and ISO (ISO/IEC 14519:2001) standard defining an Ada interface to the POSIX system calls. The scope for the standard is the same as in POSIX.1 (C API) but defines a thick binding for the interface, thus benefiting from Ada features. Some functionality provided by POSIX.1, but already present in Ada, is skipped.

There exists an open-source implementation for GNAT called Florist (Florida State University/Forest), originally written by the Florida State University and eventually maintained by AdaCore.

The following compilers are known to provide an implementation of the standard: ObjectAda for Linux , GNAT , MAXAda and PowerAda . There is an implementation for GNAT over Windows called wPOSIX (formerly Win32POSIX).

Author
Formerly Florida State University, now Adacore
Homepage
http://gnat-florist.sourceforge.net
Project Info
http://sourceforge.net/projects/gnat-florist
SVN Archive
http://gnat-florist.svn.sourceforge.net/gnat-florist/
Download
http://sourceforge.net/projects/gnat-florist/download
Author
Pascal Obry and AdaCore.
Homepage
https://github.com/AdaCore/wposix
Download
https://github.com/AdaCore/wposix/releases

Standards

Tutorial

  • POSIX in Ada Appendix to “Understanding Unix/Linux Programming”. Includes complete examples.

ISO Working Group

  • The ISO standard was considered for revision in 2006 . A list of POSIX functions (including XSI functions, also known as SysV IPC) not currently supported by the Ada standard was identified as possible expansion .
  • In 2013, the working group states that the update effort has been cancelled due to low adoption.

Historical and background information

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.