Quote:
|
Originally Posted by blowtorch
P.S. BTW, the magic number only comprises the first 2 or 3 (both are legal) bytes in the file. The rest of the line tells the kernel what is to be used to interpret the rest of the file.
|
What os?
HP-UX magic man page says:
Code:
struct magic_number {
unsigned short system_id;
unsigned short file_type;
};
typedef struct magic_number MAGIC;