1 /* MFiles.h MMURTL File service direct blocking calls */
\r
3 /* MMURTL Operating System Source Code
\r
4 Copyright 1991,1992,1993,1994 Richard A. Burgess
\r
11 #define ModeModify 1
\r
13 extern far long CreateFile(char *pName, long cbName, long Attrib);
\r
15 extern far long CreateDir(char *pName, long cbName);
\r
17 extern far long DeleteDir(char *pName, long cbName);
\r
19 extern far long OpenFile(char *pName, long cbName, char Mode,
\r
20 char fStream, long *pdHandleRet);
\r
23 extern far long RenameFile(char *pCrntName, long cbCrntName,
\r
24 char *pNewName, long cbNewName);
\r
25 extern far long GetFileSize(long dHandle, long *pdSizeRet);
\r
26 extern far long SetFileSize(long dHandle, long dSize);
\r
28 extern far long ReadBlock (long dHandle, char *pBytesRet, long nBytes,
\r
29 long dLFA, long *pdnBytesRet);
\r
30 extern far long WriteBlock(long dHandle,
\r
35 extern far long ReadBytes (long dHandle, char *pBytesRet,
\r
36 long nBytes, long *pdBytesRet);
\r
37 extern far long WriteBytes (long dHandle, char *pBytes,
\r
38 long nBytes, long *pdBytesRet);
\r
39 extern far long GetFileLFA(long dHandle, long *pdLFARet);
\r
40 extern far long SetFileLFA(long dHandle, long dLFA);
\r
41 extern far long CloseFile (long dHandle);
\r
42 extern far long DeleteFile (long dHandle);
\r
44 extern far long GetDirSector(char *pPathSpec,
\r
50 /****** End of Module ********/
\r