size(1) CLIX size(1)
NAME
size - Displays section sizes of common object files
SYNOPSIS
size [-d] [-n] [-f] [-o] [-x] [-V] files
FLAGS
-d Displays numbers in decimal. (This is also the default.)
-n Includes NOLOAD section in the size.
-f Produces full output that is, it displays the size of every loaded
section, followed by the section name in parentheses.
-o Displays numbers in octal instead of decimal.
-x Displays numbers in hexadecimal instead of decimal.
-V Supplys the version information on the size command.
DESCRIPTION
The size command produces section size information, in bytes, for each
loaded section in the common object files. The size of the text, data,
and bss (uninitialized data) sections is displayed, as well as the sum of
the sizes of these sections. If an archive file is input to the size
command the information for all archive members is displayed.
EXAMPLES
The following displays sizes of every loaded section (including .comment)
in hexadecimal:
size -fx foo
NOTES
Since the size of bss sections is not known until link-edit time, the size
command will not give the true total size of pre-linked objects.
DIAGNOSTICS
size: name: cannot open
If name cannot be read.
size: name: bad magic
If name is not an appropriate common object file.
2/94 - Intergraph Corporation 1
size(1) CLIX size(1)
EXIT VALUES
Always returns 0.
RELATED INFORMATION
Commands: acc(1), as(1), cc(1), ld(1)
Files: a.out(4), ar(4)
2 Intergraph Corporation - 2/94