6 ms·
> ntdll and libsystem aren't equivalent, they are more similar to `libc` I disagree. System calls on linux comprise the interface provided to applications to
by moonchild 6y ago
> ntdll and libsystem aren't equivalent, they are more similar to `libc`
I disagree.
System calls on linux comprise the interface provided to applications to talk to the kernel.
On windows, ntdll serves the same function--it is itself a 'very thin wrapper around calling the kernel directly by number'. (Especially important since a libc may be hard to come by on windows.)
(Libsystem it seems I was mistaken about; it looks like that's just a bundle of libc, libm, libpthread, etc. Though possibly libsystem_kernel is nearer the mark? Difficult to find information on the subject, and I don't have a mac.)