diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-08-24 07:58:26 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-08-24 07:58:26 -0700 |
commit | 730d425d81fa1842fa8146948f4fd025036f358b (patch) | |
tree | 461d35586a0730e3e7ff72cc5b54812ac894116e | |
parent | 5fb88f0779e1a56e038b279c404dc93fb640c476 (diff) | |
download | txr-730d425d81fa1842fa8146948f4fd025036f358b.tar.gz txr-730d425d81fa1842fa8146948f4fd025036f358b.tar.bz2 txr-730d425d81fa1842fa8146948f4fd025036f358b.zip |
doc: ffi: struct size with only zero-width field.
* txr.1: Document that the size of a struct that contains
nothing but a zero-width field is zero.
-rw-r--r-- | txr.1 | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -69420,7 +69420,8 @@ 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, or appears -as the last member of a structure. +as the last member of a structure. Also, a structure containing only a +zero-width bitfield has size zero. If, after the placement of all structure members, .I B |