StupidOS/include/ar.h
2025-01-31 11:51:12 +01:00

26 lines
378 B
C

#ifndef AR_H
# define AR_H
#include <stdint.h>
# define ARMAG "!<arch>\n"
# define SARMAG 8
# define ARFMAG "`\n"
# define AR_SYMTAB_NAME "__.SYMDEF"
typedef struct arhdr {
uint8_t ar_name[16];
uint8_t ar_date[12];
uint8_t ar_uid[6];
uint8_t ar_gid[6];
uint8_t ar_mode[8];
uint8_t ar_size[10];
uint8_t ar_fmag[2];
} AR_HDR;
# define SAR_HDR 60
#endif /* !AR_H */