Jump to content

KernGetFileSize: Difference between revisions

From EDM2
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
This returns the size of the file designated by KernLockFile.
This returns the size of the file designated by [[KernLockFile]].


==Synopsis==
==Synopsis==
APIRET APIENTRY KernGetFileSize(KEEhfile khfd,KEEfilesize* sz);
APIRET APIENTRY KernGetFileSize (KEEhfile khfd, KEEfilesize* sz);


==Parameters==
==Parameters==
;khfd:SFT pointer  
;khfd (KEEhfile) - input:SFT pointer
:Address of a double long variable to hold the size of the file.
;sz (KEEfilesize*) - input:Address of a double long variable to hold the size of the file.
;sz


==Comments==
==Comments==
Like the other SFT related functions, this seems to be a hack for JFS.  
Like the other SFT related functions, this seems to be a hack for JFS.


[[Category:KEE]]
[[Category:KEE]]

Latest revision as of 03:19, 28 May 2025

This returns the size of the file designated by KernLockFile.

Synopsis

APIRET APIENTRY KernGetFileSize (KEEhfile khfd, KEEfilesize* sz);

Parameters

khfd (KEEhfile) - input
SFT pointer
sz (KEEfilesize*) - input
Address of a double long variable to hold the size of the file.

Comments

Like the other SFT related functions, this seems to be a hack for JFS.