summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-08-24 07:58:26 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-08-24 07:58:26 -0700
commit2b088c2de1e23cc7c01533a49746fbdca55034d7 (patch)
tree461d35586a0730e3e7ff72cc5b54812ac894116e /txr.1
parent23d1d7e768e88dc9c8c511afcd2940bee562550a (diff)
downloadtxr-2b088c2de1e23cc7c01533a49746fbdca55034d7.tar.gz
txr-2b088c2de1e23cc7c01533a49746fbdca55034d7.tar.bz2
txr-2b088c2de1e23cc7c01533a49746fbdca55034d7.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.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.13
1 files changed, 2 insertions, 1 deletions
diff --git a/txr.1 b/txr.1
index c6656f75..4497be5c 100644
--- a/txr.1
+++ b/txr.1
@@ -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