Flashnux

GNU/Linux man pages

Livre :
Expressions régulières,
Syntaxe et mise en oeuvre :

ISBN : 978-2-7460-9712-4
EAN : 9782746097124
(Editions ENI)

Unix

Unix v6

archive(5)



ar archive (library) file format The archive command is used to combine several files into one. Archives are used mainly as libraries to be searched by the link-editor A file produced by has a magic number at the start, followed by the constituent files, each preceded by a file header. The magic number is 177555(8) (it was chosen to be unlikely to occur anywhere else). The header of each file is 16 bytes long: 0-7 file name, null padded on the right 8-11 modification time of the file 12 user ID of file owner 13 file mode 14-15 file size Each file begins on a word boundary; a null byte is inserted between files if necessary. Nevertheless the size give reflects the actual size of the file exclusive of padding. Notice there is no provision for empty areas in an archive file. ar (I), ld (I) Names are only 8 characters, not 14. More important, there isn’t enough room to store the proper mode, so always extracts in mode 666.



archive(5)