Header
A struct that is exactly 512 bytes and matches tar file format. This is
intended to be used for outputting tar files; for parsing there is
std.tar.Header.
Fields of this type
Fields
- name:[100]u8
- = [_]u8{0} ** 100
- mode:[7:0]u8
- = default_mode.file
- uid:[7:0]u8
- = [_:0]u8{0} ** 7
- gid:[7:0]u8
- = [_:0]u8{0} ** 7
- size:[11:0]u8
- = [_:0]u8{'0'} ** 11
- mtime:[11:0]u8
- = [_:0]u8{'0'} ** 11
- checksum:[7:0]u8
- = [_:0]u8{' '} ** 7
- linkname:[100]u8
- = [_]u8{0} ** 100
- magic:[6]u8
- = [_]u8{ 'u', 's', 't', 'a', 'r', 0 }
- version:[2]u8
- = [_]u8{ '0', '0' }
- uname:[32]u8
- = [_]u8{0} ** 32
- gname:[32]u8
- = [_]u8{0} ** 32
- devmajor:[7:0]u8
- = [_:0]u8{0} ** 7
- devminor:[7:0]u8
- = [_:0]u8{0} ** 7
- prefix:[155]u8
- = [_]u8{0} ** 155
- pad:[12]u8
- = [_]u8{0} ** 12
Type definitions in this namespace
Types
Functions in this namespace