Jump to content

KernLockFile: Difference between revisions

From EDM2
No edit summary
No edit summary
Line 1: Line 1:
This function converts a user space file handle to a system file table pointer.
==Synopsis==
==Synopsis==
APIRET APIENTRY KernLockFile(HFILE hfd,KEEhfile* khfd);
APIRET APIENTRY KernLockFile(HFILE hfd,KEEhfile* khfd);
==Description==
This function converts a user space file handle to a system file table pointer.


==Parameters==
==Parameters==
Line 14: Line 13:
This is some sort of DosOpen to access user files. This seems to be a kludge required for some feature of JFS.  
This is some sort of DosOpen to access user files. This seems to be a kludge required for some feature of JFS.  


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

Revision as of 21:48, 9 June 2017

This function converts a user space file handle to a system file table pointer.

Synopsis

APIRET APIENTRY KernLockFile(HFILE hfd,KEEhfile* khfd);

Parameters

hfd
User space file handle
khfd
Pointer to an variable to return the SFT entry pointer.

Comments

This is some sort of DosOpen to access user files. This seems to be a kludge required for some feature of JFS.