Category:POSIX: Difference between revisions

From Rosetta Code
Content added Content deleted
(Point the POSIX link to the registration page.)
m (Examples marked 'libheader', not 'library'.)
Line 4: Line 4:
* POSIX also defines commands such as <tt>[[AWK|awk]]</tt>, <tt>[[bc]]</tt>, <tt>grep</tt>, <tt>ls</tt>, <tt>rm</tt> and <tt>[[UNIX Shell|sh]]</tt>.
* POSIX also defines commands such as <tt>[[AWK|awk]]</tt>, <tt>[[bc]]</tt>, <tt>grep</tt>, <tt>ls</tt>, <tt>rm</tt> and <tt>[[UNIX Shell|sh]]</tt>.


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

Revision as of 05:11, 21 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 {{libheader|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.