Liste des Groupes | Revenir à co vms |
On 10/2/2024 8:28 PM, Lawrence D'Oliveiro wrote:So, don't use C ...On Wed, 2 Oct 2024 20:14:20 -0400, Arne Vajhøj wrote:>
>On 10/2/2024 8:02 PM, Lawrence D'Oliveiro wrote:>>>
On Wed, 2 Oct 2024 19:57:50 -0400, Arne Vajhøj wrote:>>
It would be a lot easier without the C RTL data structures and the RMS
data structures.
>
But they exist.
VMS doesn’t force you to use them.
True. But using $QIO(W) or $IO_PERFOM(W) for IO is exceptionally rare.
I did it all the time. For terminal stuff, it was much easier than trying
to work through the cumbersome indirection layer imposed by RMS.
Terminal: yes.
>
Mailboxes: yes.
>
Tapes: yes.
>
Disk file: not so much.
>>>And I’m not clear what the point of them is, for network I/O.>
None.
>
But I believe you said that on *nix you could transfer a file descriptor
over Unix socket as well.
Remember that POSIX has no “RMS” layer. A VMS “channel” might be
considered equivalent to a POSIX “file descriptor”,
Yes.
>
But the C code cannot use it as a file descriptor.
Les messages affichés proviennent d'usenet.