Zig 0.17.0-dev (Split by item) This is an example of documentation generated by
ZigDoc , an alternative to Zig's built-in
Auto Doc feature. See also
examples in other modes/formats . The project being documented here (as the example) is the Zig standard library.
std › os › linux › tls › AbiTcb Private Constant AbiTcb Doc Source Private Constant std.os.linux.tls.AbiTcb
const AbiTcb = switch (current_variant ) File os/linux/tls.zig: 144
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174 const AbiTcb = switch (current_variant ) {
.I_original , .I_modified => switch (native_arch ) {
.aarch64 ,
.aarch64_be ,
.alpha ,
.arm ,
.armeb ,
.hppa ,
.microblaze ,
.microblazeel ,
.sh ,
.sheb ,
.thumb ,
.thumbeb ,
.xtensa ,
.xtensaeb ,
=> extern struct {
/// This is offset by `current_dtv_offset`.
dtv : usize ,
_reserved : ?*anyopaque ,
},
else => extern struct {
/// This is offset by `current_dtv_offset`.
dtv : usize ,
},
},
.II => extern struct {
/// This is self-referential.
self : *AbiTcb ,
},
}
Per-thread storage for the ELF TLS ABI.