Value:{\
criFs_SetUserMallocFunction(p_malloc_func, p_obj);\
criFs_SetUserFreeFunction(p_free_func, p_obj);\
}
Maximum length of the memory file path.
- Description:
- Maximum length of the memory file path. This includes the number of NULL characters.
The length of the memory file path does not exceed this value. br>
- Attention
- This value may be larger in the future. br>
- See also
- criFs_AddressToPath
Invalid bind ID
- Description:
- This is the ID to be given to an unused binder. The value may be returned when binding fails.
- See also
- CriFsBindId, criFsBinder_BindCpk, criFsBinder_BindFile, criFsBinder_BindFiles, criFsBinder_BindDirectory
Start number of valid bind ID
- Description:
- This is the start number of a valid bind ID.
IDs returned in the bind functions are valid if they are larger than this ID. br>
- See also
- CriFsBindId, criFsBinder_BindCpk, criFsBinder_BindFile, criFsBinder_BindFiles, criFsBinder_BindDirectory
Register user's allocator
- Parameters
-
[in] | p_malloc_func | Memory allocation function |
[in] | p_free_func | Memory release function |
[in] | p_obj | User-specified object |
- Description:
- This function registers the memory allocator (memory allocation/release function) in the CRI File System library.
Use these functions to replace the memory release processing that the CRI File System library performs in the library with user's own memory release processing.