summaryrefslogtreecommitdiff
path: root/bits.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-03-14 14:36:56 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-03-14 14:36:56 +0000
commitc3440b1f32c506629998b3a0e47928f91d037640 (patch)
tree34f2ca0abb980ba01ad3775fab50b57bb40c541b /bits.c
parent4ca780c3718e2f69436f6e1ed0cc002a4be9b67b (diff)
downloadgpsd-c3440b1f32c506629998b3a0e47928f91d037640.tar.gz
Document length limit on bitfield processing.
Diffstat (limited to 'bits.c')
-rw-r--r--bits.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/bits.c b/bits.c
index a45a3b7d..0757d3e6 100644
--- a/bits.c
+++ b/bits.c
@@ -1,8 +1,9 @@
/* $Id$ */
/*
- * Bitfield extraction functions. In each, start is a bit index (not a byte
- * index) and width is a bit width (bounded above by the bit width of long
- * long).
+ * Bitfield extraction functions. In each, start is a bit index (not
+ * a byte index) and width is a bit width. The width bounded above by
+ * the bit width of a long long, which s 64 bits in all standard data
+ * models for 64-bit processors.
*
* The sbits() function assumes twos-complement arithmetic.
*/