Skip to main content
  • Home
  • login
  • Browse the archive

    swh mirror partner logo
swh logo
SoftwareHeritage
Software
Heritage
Mirror
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • 59e02e5
  • /
  • NOTES-POSIX.md
Raw File
Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge Iframe embedding
swh:1:cnt:4b8a845e87d51cc6f38c5b2283e4d15f83f46c15
directory badge Iframe embedding
swh:1:dir:59e02e58e3012b81f16f0d0ee5ced84f42c3e56b
NOTES-POSIX.md
Notes on POSIX
==============

There are few instances where OpenSSL requires a POSIX C library, at least
version 1-2008, or compatible enough functionality.

There are exceptions, though, for platforms that do not have a POSIX
library, or where there are quirks that need working around.  A notable
platform is Windows, where POSIX functionality may be available, but where
the function names are prefixed with an underscore, and where some POSIX
types are not present (such as `ssize_t`).

Platforms that do have a POSIX library may still not have them accessible
unless the following macros are defined:

    _POSIX_C_SOURCE=200809L
    _XOPEN_SOURCE=1

This is, for example, the case when building with gcc or clang and using the
flag `-ansi`.

ENEA — Copyright (C), ENEA. License: GNU AGPLv3+.
Legal notes  ::  JavaScript license information ::  Web API

back to top