Liste des Groupes | Revenir à l misc |
On 2024-08-25 09:50, Sebastian wrote:
>In comp.unix.programmer Dmitry A. Kazakov <mailbox@dmitry-kazakov.de>
wrote:>
Windows did many things wrong, but accessing file descriptors by
numbers is beyond even Windows. In Windows a file is an OS object. You
access it getting an opaque handle to. Note that a handle can be
marshaled from one process to another. Try that with process-local
numbers!
UNIX domain sockets support the passing of file descriptors between
processes.
File descriptor (a pointer to) is not file number.
You cannot pass number 1 simply because 1 is already in use.
Les messages affichés proviennent d'usenet.