Sujet : Re: Python (was Re: I did not inhale)
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.unix.shell comp.unix.programmer comp.lang.miscDate : 19. Aug 2024, 00:18:01
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v9tvf9$2iahp$2@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
User-Agent : Pan/0.159 (Vovchansk; )
On Sun, 18 Aug 2024 18:13:37 +0200, Dmitry A. Kazakov 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!
Actually, that is a standard feature of “Unix” sockets, as available on
Linux, the BSDs, and all the other *nixes: being able to pass file
descriptors for open files from one process to another.