summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man3c')
-rw-r--r--usr/src/man/man3c/crypt_genhash_impl.3c7
-rw-r--r--usr/src/man/man3c/sem_timedwait.3c7
-rw-r--r--usr/src/man/man3c/string.3c4
3 files changed, 4 insertions, 14 deletions
diff --git a/usr/src/man/man3c/crypt_genhash_impl.3c b/usr/src/man/man3c/crypt_genhash_impl.3c
index f3107a522e..c964a9aac8 100644
--- a/usr/src/man/man3c/crypt_genhash_impl.3c
+++ b/usr/src/man/man3c/crypt_genhash_impl.3c
@@ -16,7 +16,6 @@ crypt_genhash_impl \- generate encrypted password
.fi
.SH DESCRIPTION
-.sp
.LP
The \fBcrypt_genhash_impl()\fR function is called by \fBcrypt\fR(3C) to
generate the encrypted password \fIplaintext\fR.
@@ -33,20 +32,18 @@ The \fIparams\fR argument is an \fIargv\fR-like null-terminated vector of type
\fBchar *\fR. The first element of \fIparams\fR represents the mechanism token
name from \fBcrypt.conf\fR(4). The remaining elements of \fIparams\fR represent
strings of the form <\fBparameter\fR>[=<\fBvalue\fR>] to allow passing in
-additional information from the \fBcrypt.conf\fR entry, such as specifing
+additional information from the \fBcrypt.conf\fR entry, such as specifying
rounds information "\fBrounds=4096\fR".
.sp
.LP
The \fBcrypt_genhash_impl()\fR function must not \fBfree\fR(3C) \fIctbufflen\fR
on error.
.SH RETURN VALUES
-.sp
.LP
Upon successful completion, \fBcrypt_genhash_impl()\fR returns a pointer to the
encoded version of \fIplaintext\fR. Otherwise a null pointer is returned and
\fBerrno\fR is set to indicate the error.
.SH ERRORS
-.sp
.LP
The \fBcrypt_genhash_impl()\fR function will fail if:
.sp
@@ -77,7 +74,6 @@ There is insufficient memory to perform hashing.
.RE
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -95,7 +91,6 @@ MT-Level MT-Safe
.TE
.SH SEE ALSO
-.sp
.LP
\fBpasswd\fR(1), \fBcrypt\fR(3C), \fBcrypt_gensalt_impl\fR(3C), \fBfree\fR(3C),
\fBgetpassphrase\fR(3C), \fBcrypt.conf\fR(4), \fBpasswd\fR(4),
diff --git a/usr/src/man/man3c/sem_timedwait.3c b/usr/src/man/man3c/sem_timedwait.3c
index 9360992a21..45cf042231 100644
--- a/usr/src/man/man3c/sem_timedwait.3c
+++ b/usr/src/man/man3c/sem_timedwait.3c
@@ -63,7 +63,6 @@ sem_timedwait, sem_reltimedwait_np \- lock a semaphore
.fi
.SH DESCRIPTION
-.sp
.LP
The \fBsem_timedwait()\fR function locks the semaphore referenced by \fIsem\fR
as in the \fBsem_wait\fR(3C) function. However, if the semaphore cannot be
@@ -99,7 +98,6 @@ Under no circumstance does the function fail with a timeout if the semaphore
can be locked immediately. The validity of the \fIabs_timeout\fR need not be
checked if the semaphore can be locked immediately.
.SH RETURN VALUES
-.sp
.LP
The \fBsem_timedwait()\fR and \fBsem_reltimedwait_np()\fR functions return 0 if
the calling process successfully performed the semaphore lock operation on the
@@ -107,7 +105,6 @@ semaphore designated by \fIsem\fR. If the call was unsuccessful, the state of
the semaphore is be unchanged and the function returns -1 and sets \fBerrno\fR
to indicate the error.
.SH ERRORS
-.sp
.LP
The \fBsem_timedwait()\fR and \fBsem_reltimedwait_np()\fR functions will fail
if:
@@ -163,7 +160,6 @@ A signal interrupted this function.
.RE
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -175,7 +171,7 @@ c | c
l | l .
ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface Stability Commmitted
+Interface Stability Committed
_
MT-Level MT-Safe
_
@@ -186,7 +182,6 @@ Standard See below.
.LP
For \fBsem_timedwait()\fR, see \fBstandards\fR(5).
.SH SEE ALSO
-.sp
.LP
\fBsemctl\fR(2), \fBsemget\fR(2), \fBsemop\fR(2), \fBtime\fR(2),
\fBsem_post\fR(3C), \fBsem_trywait\fR(3C), \fBsem_wait\fR(3C),
diff --git a/usr/src/man/man3c/string.3c b/usr/src/man/man3c/string.3c
index 967e9a2137..478bbdb4bd 100644
--- a/usr/src/man/man3c/string.3c
+++ b/usr/src/man/man3c/string.3c
@@ -358,8 +358,8 @@ passed to \fBfree()\fR. The space for the new string is obtained using
\fBmalloc\fR(3C). If the new string cannot be created, a null pointer is
returned and \fBerrno\fR may be set to \fBENOMEM\fR to indicate that the
storage space available is insufficient. The \fBstrndup()\fR function is
-identical to \fBstrdup()\fR, execept it copies at most \fIn\fR bytes from
-\fBs1\fR and ensures the copied string is awlays null terminated.
+identical to \fBstrdup()\fR, except it copies at most \fIn\fR bytes from
+\fBs1\fR and ensures the copied string is always null terminated.
.LP
The functions \fBstrdupa()\fR and \fBstrndupa()\fR behave identically to
\fBstrdup()\fR and \fBstrndup()\fR respectively; however, instead of allocating