Nucleus File
Since however, also NUCLEUS FILE of Accelerated Technology Inc. is not FREE simply Royality-Free, only a small function overview (white-paper) can be returned here.
User-Interface of NUCLEUS FILE (abbreviation)
This here presented function overview only serves as short overview. For detail information, the "Reference manual" only is responsible.
FILE-System: | |
NU_Become_File_User | Task as User of the Filesystems announce |
NU_Release_File_User | Task as User of the Filesystems cancel |
NU_Check_File_User | Examination whether Task is announced as User |
NU_Open_Disk | Drive opens |
NU_Close_Disk | Drive closes and "cache" clear |
NU_Open | File in "modes" open |
NU_Close | File close |
NU_Read | Read from opened File |
NU_Write | Write in opened File |
NU_Seek | File-pointer relatively within the opened Files moves |
NU_Truncate | File-pointer absolutely within the opened Files moves |
NU_Delete | File delete |
NU_Rename | File rename |
NU_Flush | "cache" clear (alterations write) |
NU_Format | Drive formats |
NU_FreeSpace | free place for drive determines |
NU_GetFirst | It returns first entry of a directory |
NU_GetNext | It returns next entry of a directory |
NU_Done | Gives all recources freely were used with NU_GetFirst and NU_GetNext |
NU_Make_Dir | Create a directory |
NU_Remove_Dir | Delete a created directory |
NU_Current_Dir | Current directory determines |
NU_Get_Default_Drive | The default drive returns |
NU_Set_Current_Dir | directory changes |
NU_Set_Default_Dir | Place the default directory |
NU_Set_Default_Drive | Place the default drive |
NU_Set_Default_Drive_Number | Place the phys. default drive |
NU_Disk_Abort | Abbort all file access, discarding all change situated still in the "cache" and clasps of the drive (for the treatment of mistakes in file access) |
Error-Codes "p_errno"
Name | Decimal_Value |
PEBADF | 2 |
PENOENT | 2 |
PEMFILE | 24 |
PEEXIST | 17 |
PEACCES | 13 |
PEINVAL | 22 |
PENOSPC | 28 |
Tip to the NUCLEUS FILE and Flash-Media-Manager (FMM - Third-part from Intoto):
In order to get some detailed mistake news from the module FILE, I recommend as a variation, the function pc_report_error(..) from PC_ERROR.C in a way, to change, that instead of a printf(..) the function NU_Make_History_Entry(..) it is called in order to write down the mistake in the History of the kernel.
You get additionally through it until 27 detail mistake codes of the FILE.
With a similar adaptation to the Flash-Media-Manager, you get from the function FlashIoctl (..) for example, additionally until 32 detail mistake codes of the FMM.
Stand: 03/2001