Category:POSIX: Difference between revisions

From Rosetta Code
Content added Content deleted
(Explain what is in this category. List a few examples of POSIX functions and commands.)
(Point the POSIX link to the registration page.)
Line 1: Line 1:
{{library}}'''POSIX''' or "Portable Operating System Interface" is a standard for systems that resemble [[Unix]]. The current version, [http://pubs.opengroup.org/onlinepubs/9699919799/ POSIX.1-2008], is a project of both the [[IEEE]] and the Open Group. More information is at [http://en.wikipedia.org/wiki/POSIX Wikipedia].
{{library}}'''POSIX''' or "Portable Operating System Interface" is a standard for systems that resemble [[Unix]]. The current version, [http://www.unix.org/single_unix_specification/ POSIX.1-2008], is a project of both the [[IEEE]] and the Open Group. More information is at [http://en.wikipedia.org/wiki/POSIX Wikipedia].


* POSIX defines an [[API]] for [[C]] programs, with functions such as <tt>fork()</tt>, <tt>opendir()</tt>, <tt>pthread_create()</tt>, <tt>regcomp()</tt>, <tt>wait()</tt> and <tt>unlink()</tt>.
* POSIX defines an [[API]] for [[C]] programs, with functions such as <tt>fork()</tt>, <tt>opendir()</tt>, <tt>pthread_create()</tt>, <tt>regcomp()</tt>, <tt>wait()</tt> and <tt>unlink()</tt>.

Revision as of 17:21, 20 January 2011

Library
This is an example of a library. You may see a list of other libraries used on Rosetta Code at Category:Solutions by Library.

POSIX or "Portable Operating System Interface" is a standard for systems that resemble Unix. The current version, POSIX.1-2008, is a project of both the IEEE and the Open Group. More information is at Wikipedia.

  • POSIX defines an API for C programs, with functions such as fork(), opendir(), pthread_create(), regcomp(), wait() and unlink().
  • POSIX also defines commands such as awk, bc, grep, ls, rm and sh.

The pages in this category have examples marked {{library|POSIX}}. These examples require some of the POSIX functions; a C or C++ example that calls fork() would be in this category. Some languages, like Ada or Perl, have a POSIX library.