Showing changes from revision #1 to #2:
Added | Removed | Changed
Entry | |
---|---|
R0 | 24 (reason code) |
R1 | Pointer to filename |
Exit | |
---|---|
R0 | Preserved |
R1 | Preserved |
R2 | Natural block size in bytes |
The purpose of this call is to find the natural block size of a given file.
When you create or extend a file, disc space can only be allocated in chunks of a minimum size (512 bytes, for example). If your file is just 1 byte long for example, 511 bytes of disc space may have to be wasted after it if the natural block size is 512.