VMS Help  —  CRTL  strerror  Example
        #include <stdio.h>
        #include <errno.h>
        #include <string.h>
        #include <stdlib.h>
        #include <ssdef.h>

        main()
        {
            puts(strerror(EVMSERR));
            errno = EVMSERR;
            vaxc$errno = SS$_LINKEXIT;
            puts(strerror(errno));
            puts(strerror(EVMSERR, SS$_ABORT));
            exit(1);
        }

    Running this example produces the following output:

    nontranslatable vms error code: <none>
    network partner exited
    abort
Close Help