git: bfcd57ed5a53 - main - pthread_rwlockattr_destroy(3): Make SYNOPSIS more clear
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 21 Jun 2025 15:58:01 UTC
The branch main has been updated by otis:
URL: https://cgit.FreeBSD.org/src/commit/?id=bfcd57ed5a539e1b6711c6a1e48ea56be0e8e53f
commit bfcd57ed5a539e1b6711c6a1e48ea56be0e8e53f
Author: Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2025-06-21 15:53:22 +0000
Commit: Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2025-06-21 15:56:04 +0000
pthread_rwlockattr_destroy(3): Make SYNOPSIS more clear
Clarify pthread_rwlockattr_destroy is for use with an attributes object.
Obtained from: OpenBSD
Reviewed by: kib
---
share/man/man3/pthread_rwlockattr_destroy.3 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/share/man/man3/pthread_rwlockattr_destroy.3 b/share/man/man3/pthread_rwlockattr_destroy.3
index 2f9fe7099ef2..eabfbad7e0f2 100644
--- a/share/man/man3/pthread_rwlockattr_destroy.3
+++ b/share/man/man3/pthread_rwlockattr_destroy.3
@@ -27,7 +27,7 @@
.Os
.Sh NAME
.Nm pthread_rwlockattr_destroy
-.Nd destroy a read/write lock
+.Nd destroy a read/write lock attributes object
.Sh LIBRARY
.Lb libpthread
.Sh SYNOPSIS
@@ -37,7 +37,7 @@
.Sh DESCRIPTION
The
.Fn pthread_rwlockattr_destroy
-function is used to destroy a read/write lock attribute object
+function is used to destroy a read/write lock attributes object
previously created with
.Fn pthread_rwlockattr_init .
.Sh RETURN VALUES