3 ms·
But it works well! Those file options are syntactically optional. I worked on VAX/VMS with Fortran for 5 years and then helped develop generic spacecraft cont
by mek6800d2 4y ago
But it works well! Those file options are syntactically optional. I worked on VAX/VMS with Fortran for 5 years and then helped develop generic spacecraft control-center software for NASA in C under Unix. In 1992-1993, we ported the system to VAX/VMS for a European Space Agency project. It went very smoothly and quickly, thanks to DEC's largely complete implementation of the C library (including BSD networking), leaving us with plenty of time to develop the project-specific software. I ported over Sun's rpcgen and GNU's flex and cccp; plus bison or an actual yacc. As you showed, some of the C calls have optional parameters; e.g., strerror() could take an additional argument, a VMS status code, that would provide a more specific error message than just the ERRNO-based messages. However, in almost all cases, the normal Unix call signatures worked as expected. (I did have to come up with a work-around for our one case of a network server using fork().) Thumbs up on VMS and C!