lkml.org 
[lkml]   [2018]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Official Linux system wrapper library?
From
Date
On 24/11/18 12:04 am, Florian Weimer wrote:
> But socketcall does not exist on all architectures. Neither does
> getpid, it's called getxpid on some architectures.
> ...
> I think it would be a poor approach to expose application developers to
> these portability issues. We need to abstract over these differences at
> a certain layer, and applications are too late.

Interesting.  I think the opposite.  I think exposing the OS's
interfaces is exactly what a c-library should do.  It might also provide
alternative interfaces that work consistently across different
platforms, but in addition to, not instead of the OS interface.

\
 
 \ /
  Last update: 2018-11-23 15:16    [W:0.159 / U:1.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site