Rishab Tirupathi <
rish...@gmail.com> writes:
> As of date, there are several implementations of the libc, such as glib=
>c, BSD libc, musl libc, llvm-libc, and mlibc, but they all follow the same =
>specification.
Yes, that specification is this:
https://pubs.opengroup.org/onlinepubs/9699919799/
>Many people have thought that the specification is not well
>thought out.
Is that a fact? Or your opinion? A lot of people have spent
a lot of time over the last several decades building that
specification which has served well.
> and many people feel that the POSIX regex library is flawed
Is that a fact, or your opinon? Flawed, or just different?
The power of C is that you can link with any library that provides
the services you require.
Note that 'libc' is an implementation choice, not a standard. The
standard simply requires certain interfaces be provided - it doesn't
discuss libraries at all.
(Unix (the AT&T side) once had a viable OS-Agnostic networking
API (TLI built on System V Streams), but sockets, while perhaps
technically inferior in some ways, clearly won that battle - likely
thanks to WinSock).
https://docs.oracle.com/cd/E23824_01/html/821-1602/tli-33281.html