Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 6426 → Rev 6427

/kernel/trunk/docs/sysfuncs.txt
4121,7 → 4121,7
Format of the information structure:
* +0: dword: 5 = subfunction number
* +4: dword: 0 (reserved)
* +8: dword: 0 (reserved)
* +8: dword: 0 or flags (for the root folder)
* +12 = +0xC: dword: 0 (reserved)
* +16 = +0x10: dword: pointer to buffer for data (40 bytes)
* +20 = +0x14: ASCIIZ-name of file, the rules of names forming are
4133,12 → 4133,11
* eax = 0 - success, otherwise file system error code
* ebx destroyed
Information on file is returned in the BDFE format (block of data
for folder entry), explained in the description of
subfunction 1, but without filename
(i.e. only first 40 = 0x28 bytes).
for folder entry), explained in the description of subfunction 1,
but without filename, except the root folder.
Remarks:
* The function does not support virtual folders such as /, /rd and
root folders like /rd/1.
* For the root folder returns size and name of partition.
* The function does not support virtual folders such as / and /rd.
 
---------------------- Constants for registers: ----------------------
eax - SF_FILE (70)