FF_GetModeBits()
From FullFAT
FF_GetModeBits() converts an fopen() style mode string to the appropriate FullFAT mode flags.
Prototype
FF_T_UINT8 FF_GetModeBits(FF_T_INT8 *Mode);
Example
The following example shows FF_GetModeBits() recommend use, as a parameter to the FF_Open() function.
FF_FILE *f = FF_Open(pIoman, "\\test.txt", FF_GetModeBits("rb+"), NULL);
This page will be updated with more comprehensive information soon.
Back to API
See Also
- FF_Open()
- FF_Close()
- FF_Read()
- FF_Write()
- FF_GetC()
- FF_PutC()
- FF_Seek()
- FF_Tell()
- FF_isEOF()
- FF_GetModeBits()