long osdFileOpen(OSD_File *file, char *filename, long flags)
The argument flags is used to specify details about how the file
is to be opened. At least one of OSD_FILE_READ or OSD_FILE_WRITE
must be specified. Both may be OR'ed together.
| OSD_FILE_READ | opens the file for reading. |
| OSD_FILE_WRITE | opens the file for writing. |
| OSD_FILE_ERASE | causes the file to be erased if it already exists. |
Return TRUE on success and FALSE on failure.
| file | pointer to a OSD_File |
| filename | name of file to open |
| flags | flags specifying how to open file |