summaryrefslogtreecommitdiff
path: root/include/ar.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ar.h')
-rw-r--r--include/ar.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/ar.h b/include/ar.h
new file mode 100644
index 000000000..c6083717d
--- /dev/null
+++ b/include/ar.h
@@ -0,0 +1,18 @@
+#ifndef __AR_H
+#define __AR_H
+
+#define ARMAG "!<arch>\n"
+#define SARMAG 8
+#define ARFMAG "`\n"
+
+struct ar_hdr {
+ char ar_name[16],
+ ar_date[12],
+ ar_uid[6],
+ ar_gid[6],
+ ar_mode[8],
+ ar_size[10],
+ ar_fmag[2];
+};
+
+#endif /* __AR_H */