/usr/xpg4/bin/ar -d [ -Vv ] archive
file...
/usr/xpg4/bin/ar -m [ -abiVv ] [ posname ] archive file...
/usr/xpg4/bin/ar -p [ -sVv ] archive [file...]
/usr/xpg4/bin/ar -q [ -cVv ] archive file...
/usr/xpg4/bin/ar -r [ -abciuVv ] [ posname ] archive file...
/usr/xpg4/bin/ar -t [ -sVv ] archive [file...]
/usr/xpg4/bin/ar -x [ -CsTVv ] archive [file...]
When ar creates an archive, it creates headers in a format that is portable across all machines. The portable archive format and structure are described in detail in ar(4) . The archive symbol table (described in ar(4) ) is used by the link editor ld to effect multiple passes over libraries of object files in an efficient manner. An archive symbol table is only created and maintained by ar when there is at least one object file in the archive. The archive symbol table is in a specially named file that is always the first file in the archive. This file is never mentioned or accessible to the user. Whenever the ar command is used to create or update the contents of such an archive, the symbol table is rebuilt. The s option described below will force the symbol table to be rebuilt.
When used with -p, write the name of the file to the standard output before writing the file itself to the standard output.
When used with -t, include a long listing of information about the files within the archive.
When used with -x, print the filename preceding each extraction.
When writing to an archive, a message is written to the standard error.
By convention, archives are suffixed with the characters .a.