Library /sys$common/syshlp/helplib.hlb  —  System Services, $PURGWS
    Removes a specified range of pages from the current working set
    of the calling process to make room for pages required by a new
    program segment.

    Format

      SYS$PURGWS  inadr

    C Prototype

      int sys$purgws  (struct _va_range *inadr);

1  –  Argument

 inadr

    OpenVMS usage:address_range
    type:         longword (unsigned)
    access:       read only
    mechanism:    by reference
    Starting and ending virtual addresses of the range of pages to be
    purged. The inadr argument is the address of a 2-longword array
    containing, in order, the starting and ending process virtual
    addresses. The addresses are adjusted up or down to fall on CPU-
    specific page boundaries. Only the virtual page number portion of
    each virtual address is used; the low-order byte-within-page bits
    are ignored.
Close Help