aboutsummaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1997-04-13 14:19:59 +0000
committerBruce Evans <bde@FreeBSD.org>1997-04-13 14:19:59 +0000
commit69a6a1d797f7b83c544347f8c1bff63229214d20 (patch)
treec1498c3ef0659407a5eeb72d8dc3e138b4f29c49 /share/man
parentc5a44d911aaa64ea95dd39307426ca075f404ff1 (diff)
downloadsrc-69a6a1d797f7b83c544347f8c1bff63229214d20.tar.gz
src-69a6a1d797f7b83c544347f8c1bff63229214d20.zip
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.
Notes
Notes: svn path=/head/; revision=24887
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man3/bitstring.327
-rw-r--r--share/man/man3/fpgetround.324
2 files changed, 30 insertions, 21 deletions
diff --git a/share/man/man3/bitstring.3 b/share/man/man3/bitstring.3
index 8f7f909e00d4..2f80539dc5ab 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
diff --git a/share/man/man3/fpgetround.3 b/share/man/man3/fpgetround.3
index bd6bc177386c..b0bc28008ff3 100644
--- a/share/man/man3/fpgetround.3
+++ b/share/man/man3/fpgetround.3
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)fpgetround.3 1.0 (Berkeley) 9/23/93
-.\" $Id: fpgetround.3,v 1.3 1997/03/07 03:27:53 jmg Exp $
+.\" $Id: fpgetround.3,v 1.4 1997/03/19 20:42:18 bde Exp $
.\"
.Dd August 23, 1993
.Dt FPGETROUND 3
@@ -59,27 +59,27 @@
.Fa FP_RZ,
.Li /* truncate */
.br
-.Ft } fp_rnd;
+.Ft } fp_rnd_t;
.Pp
-.Ft fp_rnd
+.Ft fp_rnd_t
.Fn fpgetround void
-.Ft fp_rnd
-.Fn fpsetround "fp_rnd direction"
-.Fd #define fp_except int
+.Ft fp_rnd_t
+.Fn fpsetround "fp_rnd_t direction"
+.Fd #define fp_except_t int
.Fd #define FP_X_INV 0x01 /* invalid */
.Fd #define FP_X_OFL 0x08 /* overflow */
.Fd #define FP_X_UFL 0x10 /* underflow */
.Fd #define FP_X_DZ 0x04 /* divide-by-zero */
.Fd #define FP_X_IMP 0x20 /* loss of precision */
.Fd #define FP_X_DNML 0x02 /* denormal */
-.Ft fp_except
+.Ft fp_except_t
.Fn fpgetmask void
-.Ft fp_except
-.Fn fpsetmask "fp_except mask"
-.Ft fp_except
+.Ft fp_except_t
+.Fn fpsetmask "fp_except_t mask"
+.Ft fp_except_t
.Fn fpgetsticky void
-.Ft fp_except
-.Fn fpresetsticky "fp_except sticky"
+.Ft fp_except_t
+.Fn fpresetsticky "fp_except_t sticky"
.Sh DESCRIPTION
When a floating point exception is detected, the exception sticky flag is
set and the exception mask is tested. If the mask is set, then a trap