VMS Help  —  RTL Routines, LIB$  LIB$MOVC5
    The Move Characters with Fill routine makes the VAX MOVC5
    instruction available as a callable routine. The source item
    is moved to the destination item. Overlap of the source and
    destination items does not affect the result.

    Format

      LIB$MOVC5  word-integer-source-length ,source [,fill]

                 ,word-integer-destination-length ,destination

1  –  Returns

    None.

2  –  Arguments

 word-integer-source-length

    OpenVMS usage:word_unsigned
    type:         word (unsigned)
    access:       read only
    mechanism:    by reference

    Number of bytes in the source item. The word-integer-source-
    length argument is the address of an unsigned word that contains
    this number of bytes. The maximum length of source is 65,535
    bytes.

 source

    OpenVMS usage:unspecified
    type:         unspecified
    access:       read only
    mechanism:    by reference

    Item to be moved by LIB$MOVC5. The source argument is the address
    of this item. If word-integer-source-length is zero, indicating
    that destination is to be entirely filled by the fill character,
    then source is ignored by LIB$MOVC5.

 fill

    OpenVMS usage:byte_signed
    type:         byte integer (signed)
    access:       read only
    mechanism:    by reference

    Character used to pad source to the length of destination.
    The fill argument is the address of a signed byte integer that
    contains this fill character. If word-integer-destination-length
    is less than or equal to word-integer-source-length, fill is
    unused and may be omitted.

 word-integer-destination-length

    OpenVMS usage:word_unsigned
    type:         word (unsigned)
    access:       read only
    mechanism:    by reference

    Length of destination in bytes. The word-integer-destination-
    length argument is the address of an unsigned word that contains
    this number of bytes. The maximum value of word-integer-
    destination-length is 65,535 bytes.

 destination

    OpenVMS usage:unspecified
    type:         unspecified
    access:       write only
    mechanism:    by reference

    Item into which source will be moved. The destination argument is
    the address of this item.
Close Help