diff options
author | Allan Jude <allanjude@FreeBSD.org> | 2022-05-22 00:13:16 +0000 |
---|---|---|
committer | Allan Jude <allanjude@FreeBSD.org> | 2023-02-18 02:30:18 +0000 |
commit | df91d8167d97fcddc5831af923729d000c7f5b45 (patch) | |
tree | de9564ec6634c2af8615714441a29f9c32424637 /share/man/man9 | |
parent | ff8da9b2bab43920a19c16855ac3d30b5ccb1df2 (diff) | |
download | src-df91d8167d97fcddc5831af923729d000c7f5b45.tar.gz src-df91d8167d97fcddc5831af923729d000c7f5b45.zip |
mutex(9): correct man page, mtx_trylock_spin returns int not void
Reviewed by: kib, pauamma, debdrup
Sponsored by: Klara Inc.
Differential Revision: https://reviews.freebsd.org/D35283
Diffstat (limited to 'share/man/man9')
-rw-r--r-- | share/man/man9/mutex.9 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man9/mutex.9 b/share/man/man9/mutex.9 index 43d523a56c98..cb207ff4596a 100644 --- a/share/man/man9/mutex.9 +++ b/share/man/man9/mutex.9 @@ -28,7 +28,7 @@ .\" from BSDI $Id: mutex.4,v 1.1.2.3 1998/04/27 22:53:13 ewv Exp $ .\" $FreeBSD$ .\" -.Dd May 24, 2017 +.Dd February 17, 2023 .Dt MUTEX 9 .Os .Sh NAME @@ -74,7 +74,7 @@ .Fn mtx_trylock "struct mtx *mutex" .Ft int .Fn mtx_trylock_flags "struct mtx *mutex" "int flags" -.Ft void +.Ft int .Fn mtx_trylock_spin "struct mtx *mutex" .Ft int .Fn mtx_trylock_spin_flags "struct mtx *mutex" "int flags" |