Update tar.h

This commit is contained in:
apio 2022-11-23 20:52:18 +01:00
parent 400a51893e
commit 726afbae15

View File

@ -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