'\"macro stdmacro
.if n .pH ddi_dki.rmwant @(#)rmwant	40.5 of 10/10/89
.\" Copyright 1989 AT&T
.de IX
.ie '\\n(.z'' .tm .Index: \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9	\\n%
.el \\!.IX \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
..
.nr X
.if \nX=0 .ds x} rmwant D3DK "" "DDI/DKI" "\&"
.if \nX=1 .ds x} rmwant D3DK "" "DDI/DKI"
.if \nX=2 .ds x} rmwant D3DK "" "\&"
.if \nX=3 .ds x} rmwant "" "" "\&"
.TH \*(x}
.IX "\f4rmwant\fP(D3DK)"
.SH NAME
\f4rmwant\f1 \- wait for free memory
.SH SYNOPSIS
.nf
.na
\f4#include <sys/map.h>
#include <sys/ddi.h>
.sp 0.5
unsigned long rmwant(struct map *\f2map_p\f4);\f1
.ad
.fi
.SH ARGUMENT
.RS 0n 10
.IP "\f2map_p\f1" 10n
Pointer to the \f4map\f1(D4DK) structure on which the driver is
waiting for space. 
.RE
.SH DESCRIPTION
The \f4rmwant\f1 function returns the number of processes waiting for
free space in the map.  
.SH RETURN VALUE
The number of processes waiting for free space in the map.
.SH LEVEL
Base or Interrupt
.SH SEE ALSO
\f2BCI Driver Development Guide\f1, Chapter 6, ``Input/Output Operations''
.P
.na
\f4rmalloc\f1(D3DK),
\f4rminit\f1(D3DK),
\f4rmfree\f1(D3DK),
\f4rmsetwant\f1(D3DK),
\f4map\f1(D4DK)
.ad
