VMS Help  —  CRTL  decc$to_vms, Arguments
 unix_style_filespec

    The address of a null-terminated string containing a name in UNIX
    style file specification format.

 action_routine

    The address of a routine called by decc$to_vms that accepts the
    following arguments:

    o  A pointer to a null-terminated string that is the result of
       the translation to OpenVMS format.

    o  An integer that has one of the following values:

       Value               Translation

       0 (DECC$K_FOREIGN)  A file on a remote system that is not
                           running the OpenVMS or VAXELN operating
                           system.
       1 (DECC$K_FILE)     The translation is a file.
       2 (DECC$K_          The OpenVMS translation of the UNIX style
       DIRECTORY)          filename is a directory.

       These values can be defined symbolically with the symbols
       DECC$K_FOREIGN, DECC$K_FILE, and DECC$K_DIRECTORY. See the
       example for more information.

    If action_routine returns a nonzero value (TRUE), file
    translation continues. If it returns a 0 value (FALSE), no
    further file translation takes place.

 allow_wild

    Either 0 or 1, passed by value. If a 0 is specified, wildcards
    found in unix_style_filespec are not expanded. Otherwise,
    wildcards are expanded and each one is passed to action_routine.
    Only expanded filenames that correspond to existing OpenVMS files
    are included.

 no_directory

    An integer that has one of the following values:

    Value            Translation

    0                Directory allowed.
    1                Prevent expansion of the string as a directory
                     name.
    2                Forced to be a directory name.
Close Help