|
|
Subscribe / Log in / New account

C library system-call wrappers, or the lack thereof

C library system-call wrappers, or the lack thereof

Posted Nov 21, 2018 1:57 UTC (Wed) by flussence (guest, #85566)
In reply to: C library system-call wrappers, or the lack thereof by tdz
Parent article: C library system-call wrappers, or the lack thereof

Good observation. It might be better for long-term health of the ecosystem to split the non-POSIX stuff off into a liblinux, like there's already a libbsd for functions like arc4random. It's not just about fixing Linux-specific dependencies but glibc-specific ones too; bionic and musl exist. Users of the library ought to have to make a conscious choice to write non-portable code.


to post comments

C library system-call wrappers, or the lack thereof

Posted Nov 24, 2018 17:23 UTC (Sat) by nix (subscriber, #2304) [Link]

This has been intermittently proposed but hasn't gone anywhere yet as far as I know. (The name of the library is nice: following on from libiberty, the proposal is to call this one 'libinux'. hence gcc -o foo foo.o bar.o ... -linux ... :)


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds