System-call wrappers for glibc
System-call wrappers for glibc
Posted Sep 20, 2019 6:31 UTC (Fri) by epa (subscriber, #39769)In reply to: System-call wrappers for glibc by quotemstr
Parent article: System-call wrappers for glibc
If the multiplex call is wrapped by the C library then you can have a separate C function for each mode, each one with a sane and type-safe interface. System calls are a finite resource but C library interfaces are not. However, if you take the view that the C library should provide exactly the interface given by the kernel, a messy system call will result in messy user code.