VMS Help  —  RTL Routines, LIB$  LIB$ANALYZE_SDESC
    The Analyze String Descriptors routine extracts the length and
    the address at which the data starts for a variety of 32-bit
    string descriptor classes.

    Format

      LIB$ANALYZE_SDESC  input-descriptor ,data-length ,data-address

1  –  Corresponding JSB Entry Point

      LIB$ANALYZE_SDESC_R2

2  –  Returns

    OpenVMS usage:cond_value
    type:         longword (unsigned)
    access:       write only
    mechanism:    by value

3  –  Arguments

 input-descriptor

    OpenVMS usage:descriptor
    type:         quadword (unsigned)
    access:       read only
    mechanism:    by reference

    Input descriptor from which LIB$ANALYZE_SDESC extracts the length
    of the data and the address at which the data starts. The input-
    descriptor argument is the address of a descriptor pointing to
    the input data.

 data-length

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

    Length of the data; LIB$ANALYZE_SDESC extracts this length
    value from the input descriptor. The data-length argument is the
    address of an unsigned word integer into which LIB$ANALYZE_SDESC
    writes the length.

 data-address

    OpenVMS usage:address
    type:         longword (unsigned)
    access:       write only
    mechanism:    by reference

    Starting address of the data; LIB$ANALYZE_SDESC extracts this
    address from the input descriptor. The data-address argument is
    the address of an unsigned longword into which LIB$ANALYZE_SDESC
    writes the starting address of the data.
Close Help