summaryrefslogtreecommitdiffstats
path: root/share/man/man9/mutex.9
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-03-28 12:45:41 +0000
committerjhb <jhb@FreeBSD.org>2001-03-28 12:45:41 +0000
commit11a6b9c53ff4956df56c15ddff07c78dfec42910 (patch)
treed3c752e4779633d4be6d78d9a4cbfac11fd22624 /share/man/man9/mutex.9
parentf515c0a62ffb418380fc2b8bf0259375b8202d2a (diff)
downloadFreeBSD-src-11a6b9c53ff4956df56c15ddff07c78dfec42910.zip
FreeBSD-src-11a6b9c53ff4956df56c15ddff07c78dfec42910.tar.gz
- Both <sys/sx.h> and <sys/mutex.h> depend on <sys/types.h> and
<sys/lock.h>. - <sys/sx.h> depends on <sys/mutex.h>.
Diffstat (limited to 'share/man/man9/mutex.9')
-rw-r--r--share/man/man9/mutex.92
1 files changed, 2 insertions, 0 deletions
diff --git a/share/man/man9/mutex.9 b/share/man/man9/mutex.9
index 4ea7e54..fe0ac36 100644
--- a/share/man/man9/mutex.9
+++ b/share/man/man9/mutex.9
@@ -50,6 +50,8 @@
.Nm mtx_assert
.Nd kernel synchronization primitives
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
+.Fd #include <sys/lock.h>
.Fd #include <sys/mutex.h>
.Ft int
.Fn mtx_init "struct mtx *mutex" "char *name" "int opts"
OpenPOWER on IntegriCloud