#include <climb.h> _unwire(ptr,nbytes);
"_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.
Copyright © 2000, Thinkage Ltd.