int FileLength(int fh);

 

Returns the length of the file, in bytes.

 

Return Value

 

Returns zero if the length of the file could not be determined or if the file has no length.  Otherwise, returns the number of characters in the file.

 

Parameters

 

fh

File handle.

 

Remarks

 

FileLength() returns the length of the file in bytes.

 

Availability

 

Available in DragonFireSDK 2.0 and later.

 

Example

 

#include "DragonFireSDK.h"

 

void AppMain()

{

 

}

 

void AppExit()

{

 

}

 

void OnTimer()

{

 

}