FF_GetModeBits()

From FullFAT
Jump to: navigation, search


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

Mode Flags

Personal tools