3 ms·
So does OpenBSD's libc library differ a lot from say, Linux's libc library? Meaning: Suppose you want to write an app that can talk to both Linux's libc and Ope
by justaj 6y ago
So does OpenBSD's libc library differ a lot from say, Linux's libc library? Meaning: Suppose you want to write an app that can talk to both Linux's libc and OpenBSD's libc using some sort of "common language" that is compatible with both, would that be possible?
- ben_bai 6y agothat common language is called POSIX Edit: All libc basically adhere to it. Except for some extentions that are not in POSIX but might be in glibc/musl/FreeBSDs libc or some extentions that are OpenBSD specific.
- Someone 6y agoPOSIX and C standards (IIRC, the two conflict in some minor places). GNU libc also tries to adhere to Berkeley UNIX (see https://www.gnu.org/prep/standards/html_node/Compatibility.html https://www.gnu.org/prep/standards/html_node/Compatibility.h.... Trigger warning: contains a remark on text editors)