summaryrefslogtreecommitdiffstats
path: root/share/man/man3/bitstring.3
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-04-13 14:19:59 +0000
committerbde <bde@FreeBSD.org>1997-04-13 14:19:59 +0000
commitbf2cc57012c54d06fcac3796fe59499dfbfea074 (patch)
tree2584fcde6a8a118524e1ae41dc8def020d9f9d90 /share/man/man3/bitstring.3
parentf98bb54e1a9d1514008a563676f1fbd1d8fa5f90 (diff)
downloadFreeBSD-src-bf2cc57012c54d06fcac3796fe59499dfbfea074.zip
FreeBSD-src-bf2cc57012c54d06fcac3796fe59499dfbfea074.tar.gz
Fixed type bugs in synopsis. Some of the typedefs that were used here
haven't existed for years, if they ever existed. The "prototypes" are actually for macros, so they are difficult to check automatically.
Diffstat (limited to 'share/man/man3/bitstring.3')
-rw-r--r--share/man/man3/bitstring.327
1 files changed, 18 insertions, 9 deletions
diff --git a/share/man/man3/bitstring.3 b/share/man/man3/bitstring.3
index 8f7f909..2f80539 100644
--- a/share/man/man3/bitstring.3
+++ b/share/man/man3/bitstring.3
@@ -32,7 +32,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)bitstring.3 8.1 (Berkeley) 7/19/93
-.\" $Id$
+.\" $Id: bitstring.3,v 1.3 1997/03/07 03:27:52 jmg Exp $
.\"
.Dd July 19, 1993
.Dt BITSTRING 3
@@ -52,15 +52,24 @@
.Fd #include <bitstring.h>
.Ft bitstr_t *
.Fn bit_alloc "int nbits"
-.Fn bit_decl "bit_str name" "int nbits"
-.Fn bit_clear "bit_str name" "int bit"
-.Fn bit_ffc "bit_str name" "int nbits" "int *value"
-.Fn bit_ffs "bit_str name" "int nbits" "int *value"
-.Fn bit_nclear "bit_str name" "int start" "int stop"
-.Fn bit_nset "bit_str name" "int start" "int stop"
-.Fn bit_set "bit_str name" "int bit"
+.Ft void
+.Fn bit_decl "bitstr_t *name" "int nbits"
+.Ft void
+.Fn bit_clear "bitstr_t *name" "int bit"
+.Ft void
+.Fn bit_ffc "bitstr_t *name" "int nbits" "int *value"
+.Ft void
+.Fn bit_ffs "bitstr_t *name" "int nbits" "int *value"
+.Ft void
+.Fn bit_nclear "bitstr_t *name" "int start" "int stop"
+.Ft void
+.Fn bit_nset "bitstr_t *name" "int start" "int stop"
+.Ft void
+.Fn bit_set "bitstr_t *name" "int bit"
+.Ft int
.Fn bitstr_size "int nbits"
-.Fn bit_test "bit_str name" "int bit"
+.Ft int
+.Fn bit_test "bitstr_t *name" "int bit"
.Sh DESCRIPTION
These macros operate on strings of bits.
.Pp
OpenPOWER on IntegriCloud