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
This commit is contained in:
parent
ff8da9b2ba
commit
df91d8167d
@ -28,7 +28,7 @@
|
|||||||
.\" from BSDI $Id: mutex.4,v 1.1.2.3 1998/04/27 22:53:13 ewv Exp $
|
.\" from BSDI $Id: mutex.4,v 1.1.2.3 1998/04/27 22:53:13 ewv Exp $
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd May 24, 2017
|
.Dd February 17, 2023
|
||||||
.Dt MUTEX 9
|
.Dt MUTEX 9
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -74,7 +74,7 @@
|
|||||||
.Fn mtx_trylock "struct mtx *mutex"
|
.Fn mtx_trylock "struct mtx *mutex"
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fn mtx_trylock_flags "struct mtx *mutex" "int flags"
|
.Fn mtx_trylock_flags "struct mtx *mutex" "int flags"
|
||||||
.Ft void
|
.Ft int
|
||||||
.Fn mtx_trylock_spin "struct mtx *mutex"
|
.Fn mtx_trylock_spin "struct mtx *mutex"
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fn mtx_trylock_spin_flags "struct mtx *mutex" "int flags"
|
.Fn mtx_trylock_spin_flags "struct mtx *mutex" "int flags"
|
||||||
|
Loading…
Reference in New Issue
Block a user