139 .ad
140 .RS 26n
141 lgrp of \fIn\fRth physical replica of specified virtual address
142 .RE
143
144 .sp
145 .ne 2
146 .na
147 \fB\fBMEMINFO_PLGRP\fR\fR
148 .ad
149 .RS 26n
150 locality group of specified physical address
151 .RE
152
153 .sp
154 .LP
155 All but \fBMEMINFO_VLGRP\fR and \fBMEMINFO_VPAGESIZE\fR require the
156 \fBPRIV_PROC_MEMINFO\fR privilege.
157
158 .SH RETURN VALUES
159 .LP
160 Upon successful completion \fBmeminfo()\fR returns 0. Otherwise \(mi1 is
161 returned and \fBerrno\fR is set to indicate the error.
162 .SH ERRORS
163 .LP
164 The \fBmeminfo()\fR function will fail if:
165 .sp
166 .ne 2
167 .na
168 \fB\fBEFAULT\fR\fR
169 .ad
170 .RS 10n
171 The area pointed to by \fIoutdata\fR or \fIvalidity\fR could not be written, or
172 the data pointed to by \fIinfo_req\fR or \fIinaddr\fR could not be read.
173 .RE
174
175 .sp
176 .ne 2
177 .na
178 \fB\fBEINVAL\fR\fR
179 .ad
|
139 .ad
140 .RS 26n
141 lgrp of \fIn\fRth physical replica of specified virtual address
142 .RE
143
144 .sp
145 .ne 2
146 .na
147 \fB\fBMEMINFO_PLGRP\fR\fR
148 .ad
149 .RS 26n
150 locality group of specified physical address
151 .RE
152
153 .sp
154 .LP
155 All but \fBMEMINFO_VLGRP\fR and \fBMEMINFO_VPAGESIZE\fR require the
156 \fBPRIV_PROC_MEMINFO\fR privilege.
157
158 .SH RETURN VALUES
159 .sp
160 .LP
161 All but \fBMEMINFO_VLGRP\fR and \fBMEMINFO_VPAGESIZE\fR require the
162 \fBPRIV_PROC_MEMINFO\fR privilege.
163
164 .SH RETURN VALUES
165 .LP
166 Upon successful completion \fBmeminfo()\fR returns 0. Otherwise \(mi1 is
167 returned and \fBerrno\fR is set to indicate the error.
168 .SH ERRORS
169 .LP
170 The \fBmeminfo()\fR function will fail if:
171 .sp
172 .ne 2
173 .na
174 \fB\fBEFAULT\fR\fR
175 .ad
176 .RS 10n
177 The area pointed to by \fIoutdata\fR or \fIvalidity\fR could not be written, or
178 the data pointed to by \fIinfo_req\fR or \fIinaddr\fR could not be read.
179 .RE
180
181 .sp
182 .ne 2
183 .na
184 \fB\fBEINVAL\fR\fR
185 .ad
|