2 ms·
Can you select() a system call (the new proposal) instead of an fd (the old interface)?
by nitrogen 12y ago
Can you select() a system call (the new proposal) instead of an fd (the old interface)?
- lunixbochs 12y agoYou don't get a file handle to a syscall. You just load up some registers/stack and call a `SYSENTER`, `SYSCALL` or `INT 0x80` instruction. select is itself a separate syscall that takes in file handles or something.
- nitrogen 12y agoYeah, I know, but it wasn't clear if the parent comment was referring to select() on /dev/random, or the new syscall interface.