Re:liblinux: Architecture-independent access to Linux system...
by matheusmoreira on Tuesday November 09, 2021 @08:41AM
(#29161576)
Yes. Glibc is very heavyweight. Its supposedly thin wrappers provide features such as cancellation, for example.
One of my objectives was to produce ELFs with no symbols other than those defined in my own code. Glibc adds a lot of symbols.
You could always call syscalls directly, using syscall() (https://man7.org/linux/man-pages/man2/syscall.2.html), but a wrapper library is nicer.