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>
*** 47,57 ****
.nf
\fBint\fR \fBct_dev_tmpl_get_noneg\fR(\fBint\fR \fIfd\fR, \fBuint_t *\fR\fInonegp\fR);
.fi
.SH PARAMETERS
- .sp
.ne 2
.na
\fB\fIaset\fR\fR
.ad
.RS 11n
--- 47,56 ----
*** 116,126 ****
a pointer to a \fIuint_t\fR variable for receiving the current setting of the
"nonnegotiable" term in the template
.RE
.SH DESCRIPTION
- .sp
.LP
These functions read and write device contract terms and operate on device
contract template file descriptors obtained from the \fBcontract\fR(4)
filesystem (ctfs).
.sp
--- 115,124 ----
*** 150,165 ****
For \fBct_dev_tmpl_get_noneg()\fR, the variable pointed to by \fInonegp\fR is
set to 1 if the "noneg" term is set or to 0 otherwise. The
\fBct_dev_tmpl_clear_noneg()\fR term clears the nonnegotiable term from a
template.
.SH RETURN VALUES
- .sp
.LP
Upon successful completion, these functions return 0. Otherwise, they return a
non-zero error value.
.SH ERRORS
- .sp
.LP
The \fBct_dev_tmpl_set_aset()\fR function will fail if:
.sp
.ne 2
.na
--- 148,161 ----
*** 240,257 ****
.LP
The \fBct_dev_tmpl_get_minor()\fR function will fail if:
.sp
.ne 2
.na
! \fB\fBEOVEFLOW\fR\fR
.ad
.RS 12n
The supplied buffer is too small.
.RE
.SH ATTRIBUTES
- .sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.sp
--- 236,252 ----
.LP
The \fBct_dev_tmpl_get_minor()\fR function will fail if:
.sp
.ne 2
.na
! \fB\fBEOVERFLOW\fR\fR
.ad
.RS 12n
The supplied buffer is too small.
.RE
.SH ATTRIBUTES
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.sp
*** 265,273 ****
_
MT-Level Safe
.TE
.SH SEE ALSO
- .sp
.LP
\fBlibcontract\fR(3LIB), \fBcontract\fR(4), \fBdevices\fR(4),
\fBattributes\fR(5), \fBlfcompile\fR(5)
--- 260,267 ----