git: 07313e0f710b - main - pthread_rwlockattr_init(3): Add more precise wording to the SYNOPSIS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 21 Jun 2025 15:58:02 UTC
The branch main has been updated by otis:
URL: https://cgit.FreeBSD.org/src/commit/?id=07313e0f710bf932258cd980e7362366760b9221
commit 07313e0f710bf932258cd980e7362366760b9221
Author: Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2025-06-21 15:52:34 +0000
Commit: Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2025-06-21 15:57:19 +0000
pthread_rwlockattr_init(3): Add more precise wording to the SYNOPSIS
And also to ERRORS.
Obtained from: OpenBSD
Reviewed by: kib
---
share/man/man3/pthread_rwlockattr_init.3 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/share/man/man3/pthread_rwlockattr_init.3 b/share/man/man3/pthread_rwlockattr_init.3
index 46100608f9b6..031d010ae81a 100644
--- a/share/man/man3/pthread_rwlockattr_init.3
+++ b/share/man/man3/pthread_rwlockattr_init.3
@@ -27,7 +27,7 @@
.Os
.Sh NAME
.Nm pthread_rwlockattr_init
-.Nd initialize a read/write lock
+.Nd initialize a read/write lock attributes object
.Sh LIBRARY
.Lb libpthread
.Sh SYNOPSIS
@@ -50,7 +50,7 @@ The
function will fail if:
.Bl -tag -width Er
.It Bq Er ENOMEM
-Insufficient memory exists to initialize the attribute object.
+Insufficient memory exists to initialize the attributes object.
.El
.Sh SEE ALSO
.Xr pthread_rwlock_init 3 ,