summaryrefslogtreecommitdiffstats
path: root/share/man/man9/sx.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/sx.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/sx.9')
-rw-r--r--share/man/man9/sx.93
1 files changed, 3 insertions, 0 deletions
diff --git a/share/man/man9/sx.9 b/share/man/man9/sx.9
index 07a822a..63101b1 100644
--- a/share/man/man9/sx.9
+++ b/share/man/man9/sx.9
@@ -39,6 +39,9 @@
.Nm sx_xunlock
.Nd kernel shared/exclusive lock.
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
+.Fd #include <sys/lock.h>
+.Fd #include <sys/mutex.h>
.Fd #include <sys/sx.h>
.Ft void
.Fn sx_init "struct sx *sx" "const char *description"
OpenPOWER on IntegriCloud