Update tar.h
This commit is contained in:
parent
400a51893e
commit
726afbae15
@ -1,6 +1,8 @@
|
||||
#ifndef MINITAR_TAR_H
|
||||
#define MINITAR_TAR_H
|
||||
|
||||
// Format of a raw standard tar header.
|
||||
|
||||
struct tar_header
|
||||
{
|
||||
char name[100];
|
||||
@ -19,7 +21,8 @@ struct tar_header
|
||||
char devmajor[8];
|
||||
char devminor[8];
|
||||
char prefix[155];
|
||||
char padding[12]; // to make the structure 512 bytes
|
||||
|
||||
char padding[12]; // Not part of the header, only used to make the structure 512 bytes
|
||||
} __attribute__((packed));
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user