Loading...
man/bitstring.3 Libc-498.1.7 Libc-583
--- Libc/Libc-498.1.7/man/bitstring.3
+++ Libc/Libc-583/man/bitstring.3
@@ -53,15 +53,17 @@
 .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"
+.Fn bit_decl "bitstr_t *name" "int nbits"
+.Fn bit_clear "bitstr_t *name" "int bit"
+.Fn bit_ffc "bitstr_t *name" "int nbits" "int *value"
+.Fn bit_ffs "bitstr_t *name" "int nbits" "int *value"
+.Fn bit_nclear "bitstr_t *name" "int start" "int stop"
+.Fn bit_nset "bitstr_t *name" "int start" "int stop"
+.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
@@ -145,7 +147,15 @@
 .Fa value
 is set to \-1.
 .Pp
-The arguments to these macros are evaluated only once and may safely
+The macros
+.Fn bit_clear ,
+.Fn bit_set
+and
+.Fn bit_test
+will evaluate the
+.Fa bit
+argument more than once, so avoid using pre- or post-, increment or decrement.
+The arguments to the other macros are evaluated only once and may safely
 have side effects.
 .Sh EXAMPLE
 .Bd -literal -offset indent