Category:POSIX: Difference between revisions

From Rosetta Code
Content added Content deleted
m (Added intrawiki links)
(Explain what is in this category. List a few examples of POSIX functions and commands.)
Line 1:
{{library}}'''POSIX''' or "Portable Operating System Interface" is the collective name of a familystandard offor relatedsystems standardsthat specified by theresemble [[IEEEUnix]]. toThe definecurrent theversion, application programming interface ([[APIhttp://pubs.opengroup.org/onlinepubs/9699919799/ POSIX.1-2008]]), foris softwarea compatibleproject withof variantsboth ofthe [[UNIXIEEE]] and the Open Group. More information foundis onat [http://en.wikipedia.org/wiki/PosixPOSIX the wikiWikipedia].
 
* 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 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.

Revision as of 20:32, 17 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.