diff options
author | bde <bde@FreeBSD.org> | 1997-04-13 14:19:59 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-04-13 14:19:59 +0000 |
commit | bf2cc57012c54d06fcac3796fe59499dfbfea074 (patch) | |
tree | 2584fcde6a8a118524e1ae41dc8def020d9f9d90 /share/man | |
parent | f98bb54e1a9d1514008a563676f1fbd1d8fa5f90 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | share/man/man3/bitstring.3 | 27 | ||||
-rw-r--r-- | share/man/man3/fpgetround.3 | 24 |
2 files changed, 30 insertions, 21 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 diff --git a/share/man/man3/fpgetround.3 b/share/man/man3/fpgetround.3 index bd6bc17..b0bc280 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 |