The platform layer: which OS and architecture this is, and the syscall numbers, stand-in calls, open flags and stat layout that follow from it.
syscall-id answers a number from this platform’s table: Darwin’s bare BSD numbers (libc OR-folds the 0x2000000 UNIX class), Linux x86-64’s, the Linux generic table on arm64, or the arm EABI table on 32-bit arm. syscall-door answers something to call, and is what reaches a call a table spells differently.
os-darwin?os-linux?arch-arm64?arch-x86-64?arch-arm?file-modesstat-layoutsyscall-idsyscall-doorResolve a system call by name to something that makes it on this platform.
Raises (unsupported-syscall . NAME) when this platform has neither the call nor a stand-in for it.
Parameters:
SYMBOL — The call, by the name the x86-64 and Darwin tables give itReturns: CALLABLE — A function of up to six arguments, answering what the syscall primitive answers