Returns the length of a file specified by a file handle.
#include <nks/fsio.h> int NXFileGetLengthWithHandle ( NXHandle_t fileHandle, NXOffset_t *length);
(IN) Specifies a file handle to a previously opened file (rather than a path).
(OUT) Points to a variable to receive the result.
If successful, returns 0. Otherwise, returns one of the following error codes.
NXFileGetLengthWithHandle is useful when working with Sun's JVM, which calls the stat function more frequently than any other operation (in order to know how much space to allocate to hold the Java source code). NXFileGetLengthWithHandle is meant to be a high-speed function to optimize using the JVM.