directory-size

$Revision: 5.0.2.3 $

Function

Package: EXCL

Arguments: (dirname &key roundup)

Returns the size, in bytes, of all the files in dirname, which should name a directory. The contents of all subdirectories of pathname are included in the total.

If roundup is given and non-nil, its value should be a positive integer. The of each file will be rounded up to be a multiple of that value and the sum of all the rounded values will be returned as the size. The default on Unix is nil. The default on Windows is 32000. On many Windows machines using a fat file system (and having a disk holding more than one gigabyte), the actual space used by a file is rounded up to be a multiple of 32k, whence the default value.

See 3.0 Environment functions in os_interface.htm for information on file and directory information and manipulation functions in Allegro CL.

The general documentation description is in introduction.htm. The index is in index.htm.

Copyright (C) 1998-1999, Franz Inc., Berkeley, CA. All Rights Reserved.