summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-04-27 06:55:01 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-04-27 06:55:01 -0700
commit1197e38c1a146d91eb0521e1b995e37bdb8c3fdc (patch)
treef5cfe68578b1a93f4ae0caf1e4c3f5c90eb25352
parent5a346685942a89f4324c810bff35e9bd137aa951 (diff)
downloadtxr-1197e38c1a146d91eb0521e1b995e37bdb8c3fdc.tar.gz
txr-1197e38c1a146d91eb0521e1b995e37bdb8c3fdc.tar.bz2
txr-1197e38c1a146d91eb0521e1b995e37bdb8c3fdc.zip
doc: mention zero-width bit-field at end of structure.
* txr.1: A zero-width bit-field placed as the last member can have an effect on the structure; let's mention it.
-rw-r--r--txr.13
1 files changed, 2 insertions, 1 deletions
diff --git a/txr.1 b/txr.1
index 34463d4a..137740de 100644
--- a/txr.1
+++ b/txr.1
@@ -67503,7 +67503,8 @@ partially filled, then
is adjusted to point to the next unit after that, and
.I B
is reset to zero. Note that according to this semantics, a zero-width bitfield
-can have an effect even if placed between non-bitfield members.
+can have an effect even if placed between non-bitfield members, or appears
+as the last member of a structure.
If, after the placement of all structure members,
.I B