libosal is an operating system abstraction layer Library. It’s purpose is to write os-independent code for easy portability between different systems and architectures.
More info
DLR-RM has released their OSAL library as Open-Source. For more information head over to libosal.
Source code / Releases
The source code is released under LGPL-v3 and can be downloaded (as well as releases) directly from my GitHub. libosal (https://www.github.com/robert-burger/libosal.git)