F.SIZE - size of a file in llinks.

Alternate Entry Name: F_SIZE

Usage:

B:
   llinks = f.size(unit);
C:
   int f_size(FILE *unit);

Where:

unit
is an I/O unit number for an open disk file.
llinks
is the size of the file. This may be a negative value if F.SIZE is only guessing at the file size (see below).

Description:

F.SIZE returns the current size of a file. This can be a disk unit or some other kind of file.

If a temporary file is larger than 2**14 llinks, the size of the file cannot be determined precisely. There are a few other rare cases in which file size cannot be determined accurately. In such situations, F.SIZE makes its best guess of the file's current size and returns the negative of that size.

See Also:

expl b lib fildes

Copyright © 1996, Thinkage Ltd.