Print this page
10067 Miscellaneous man page typos
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Reviewed by: Volker A. Brandt <vab@bb-c.de>


 262 .ne 2
 263 .na
 264 \fB\fBSI_SET_SRPC_DOMAIN\fR\fR
 265 .ad
 266 .sp .6
 267 .RS 4n
 268 Set the string to be returned by \fBsysinfo()\fR with the \fBSI_SRPC_DOMAIN\fR
 269 command to the value contained in the array pointed to by \fIbuf\fR. This
 270 command requires that {\fBPRIV_SYS_ADMIN\fR} is asserted in the effective set
 271 of the calling process.
 272 .RE
 273 
 274 .sp
 275 .ne 2
 276 .na
 277 \fB\fBSI_DHCP_CACHE\fR\fR
 278 .ad
 279 .sp .6
 280 .RS 4n
 281 Copy into the array pointed to by \fIbuf\fR an ASCII string consisting of the
 282 ASCII hexidecimal encoding of the name of the interface configured by
 283 \fBboot\fR(1M) followed by the DHCPACK reply from the server. This command is
 284 intended for use only by the \fBdhcpagent\fR(1M) DHCP client daemon for the
 285 purpose of adopting the DHCP maintenance of the interface configured by
 286 \fBboot\fR.
 287 .RE
 288 
 289 .SH RETURN VALUES
 290 .LP
 291 Upon successful completion, the value returned indicates the buffer size in
 292 bytes required to hold the complete value and the terminating null character.
 293 If this value is no greater than the value passed in \fIcount\fR, the entire
 294 string was copied. If this value is greater than \fIcount\fR, the string copied
 295 into \fIbuf\fR has been truncated to  \fIcount\fR\(mi1 bytes plus a terminating
 296 null character.
 297 .sp
 298 .LP
 299 Otherwise, \(mi1 is returned and \fBerrno\fR is set to indicate the error.
 300 .SH ERRORS
 301 .LP
 302 The \fBsysinfo()\fR function will fail if:




 262 .ne 2
 263 .na
 264 \fB\fBSI_SET_SRPC_DOMAIN\fR\fR
 265 .ad
 266 .sp .6
 267 .RS 4n
 268 Set the string to be returned by \fBsysinfo()\fR with the \fBSI_SRPC_DOMAIN\fR
 269 command to the value contained in the array pointed to by \fIbuf\fR. This
 270 command requires that {\fBPRIV_SYS_ADMIN\fR} is asserted in the effective set
 271 of the calling process.
 272 .RE
 273 
 274 .sp
 275 .ne 2
 276 .na
 277 \fB\fBSI_DHCP_CACHE\fR\fR
 278 .ad
 279 .sp .6
 280 .RS 4n
 281 Copy into the array pointed to by \fIbuf\fR an ASCII string consisting of the
 282 ASCII hexadecimal encoding of the name of the interface configured by
 283 \fBboot\fR(1M) followed by the DHCPACK reply from the server. This command is
 284 intended for use only by the \fBdhcpagent\fR(1M) DHCP client daemon for the
 285 purpose of adopting the DHCP maintenance of the interface configured by
 286 \fBboot\fR.
 287 .RE
 288 
 289 .SH RETURN VALUES
 290 .LP
 291 Upon successful completion, the value returned indicates the buffer size in
 292 bytes required to hold the complete value and the terminating null character.
 293 If this value is no greater than the value passed in \fIcount\fR, the entire
 294 string was copied. If this value is greater than \fIcount\fR, the string copied
 295 into \fIbuf\fR has been truncated to  \fIcount\fR\(mi1 bytes plus a terminating
 296 null character.
 297 .sp
 298 .LP
 299 Otherwise, \(mi1 is returned and \fBerrno\fR is set to indicate the error.
 300 .SH ERRORS
 301 .LP
 302 The \fBsysinfo()\fR function will fail if: