Files
RedBear-OS/recipes/wip/libs/tls/openssl3/source/NOTES-POSIX.md
T
vasilito ff4ff35918 feat: track all source trees in git — full fork offline-first model
Red Bear OS is a full fork. All sources must be available from git clone
with zero network access. Removed gitignore rules that excluded fetched
source trees under recipes/*/source/, local/recipes/kde/*/source/,
local/recipes/qt/*/source/, and vendor source trees.

Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded.

127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt
frameworks, mesa, wayland, DRM drivers, and every other recipe source.
2026-05-14 10:55:53 +01:00

748 B

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.