From a126d040553c6c373facbd2daac86f0d71586de2 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 13 Sep 2017 16:38:11 +0200 Subject: [PATCH] pthread_mutex_consistent.3: wfix Signed-off-by: Michael Kerrisk --- man3/pthread_mutex_consistent.3 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/man3/pthread_mutex_consistent.3 b/man3/pthread_mutex_consistent.3 index 77456c458..579a20bd0 100644 --- a/man3/pthread_mutex_consistent.3 +++ b/man3/pthread_mutex_consistent.3 @@ -60,7 +60,8 @@ from a call to On success, .IR pthread_mutex_consistent() returns 0. -Otherwise, an error value is returned to indicate the error. +Otherwise, +it returns a positive error number to indicate the cause of the error. .SH ERRORS .TP .B EINVAL @@ -74,7 +75,7 @@ POSIX.1-2008. .BR pthread_mutex_consistent () simply informs the implementation that the state (shared data) guarded by the mutex has been restored to a consistent state and that -normal operations can be performed with the mutex. +normal operations can now be performed with the mutex. It is the application's responsibility to ensure that the shared data has been restored to a consistent state before calling .BR pthread_mutex_consistent ().