4 ms·
not sure how much macos retains of this, but bsd derivatives essentially convert userland libc 'syscalls' into to a call to a single lower level 'syscall' func
by cat199 9y ago
not sure how much macos retains of this,
but bsd derivatives essentially convert userland libc 'syscalls' into to a call to a single lower level 'syscall' function which passes data to/from the kernel using a macro / integer list to determine which actual functionality is desired..
https://www.freebsd.org/cgi/man.cgi?query=syscall&sektion=2 https://www.freebsd.org/cgi/man.cgi?query=syscall&sektion=2