Implementing the library for POSIX systems