_UNWIRE - unwire one or more pages, if necessary.

(GCOS8 only)

Usage:

#include <climb.h>
_unwire(ptr,nbytes);

Where:

void *ptr;
points to a location in memory that you want to unwire.
int nbytes;
is the number of bytes in the memory area.

Description:

"_unwire" reverses the effect of "_wire". This means that "_unwire" decrements the count of the number of times the pages have been wired. When the count reaches zero, "_unwire" physically unwires the pages.

If you call "_unwire" to unwire a set of pages that are not currently wired (i.e. if the count goes negative), "_unwire" aborts your program with an appropriate error message.

See Also:

expl nsc lib _wire
for wiring pages.

Copyright © 2000, Thinkage Ltd.