]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
pthread_mutex_consistent.3: tfix: fix spelling errors and grammar
authorMichael Kerrisk <mtk.manpages@gmail.com>
Tue, 12 Sep 2017 11:37:12 +0000 (13:37 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 13 Sep 2017 14:47:31 +0000 (16:47 +0200)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/pthread_mutex_consistent.3

index 510f43076470a11c1fc3103ef82678adfa1a95cf..94e8b1a1996cae5188278f3f9724ac0c9eafbe79 100644 (file)
 .\" the source, must acknowledge the copyright and authors of this work.
 .\" %%%LICENSE_END
 .\"
-.TH PTHREAD_MUTEXATTR_SETROBUST 3 2017-08-20 "Linux" "Linux Programmer's Manual"
+.TH PTHREAD_MUTEX_CONSISTENT 3 2017-08-20 "Linux" "Linux Programmer's Manual"
 .SH NAME
-pthread_mutex_consistent \- make the robust mutex consistent
+pthread_mutex_consistent \- make a robust mutex consistent
 .SH SYNOPSIS
 .nf
 .B #include <pthread.h>
 .PP
-.BI "int pthread_mute_consistent(pthread_mute_t *" mutex ");"
+.BI "int pthread_mutex_consistent(pthread_mutex_t *" mutex ");"
 .fi
 .PP
 Compile and link with \fI\-pthread\fP.
 .SH DESCRIPTION
-This function make a robust mutex consistent if it is in a inconsistent
-state. A mutex can be left in a inconsistent state if its owner terminate
-while holding the mutex, in which situation the next owner who acquire the
+This function makes a robust mutex consistent if it is in a inconsistent
+state. A mutex can be left in a inconsistent state if its owner terminates
+while holding the mutex, in which case the next owner who acquires the
 mutex will succeed and be notified by the return value of
-.B EOWNERDEAD.
+.BR EOWNERDEAD .
 .SH RETURN VALUE
 On success,
 .IR pthread_mutex_consistent()
-return 0. Otherwise an error value is returned to indicate the error.
+returns 0. Otherwise, an error value is returned to indicate the error.
 .SH ERRORS
 .TP
 .B EINVAL