Jump to content

KernGetFileSize: Difference between revisions

From EDM2
Created page with "==Synopsis== APIRET APIENTRY KernGetFileSize(KEEhfile khfd,KEEfilesize* sz); ==Description== This returns the size of the file designated by KernLockFile. ==Parameters== kh..."
 
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
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);
 
==Description==
This returns the size of the file designated by KernLockFile.


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


==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:The OS/2 API Project]]
[[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.