Parses the resource config file specified by filename.
If readonly is true parsing is generally faster, because only untranslated entries and
entries that match the current locale will be loaded. Also if you pass true for readonly,
rc_simple_open will fail if filename does not reference a regular file.
It is no error if readonly is false and the file referenced by filename does
not exists. In this case you'll start with a fresh config, which contains only the default group and no entries.
| filename |
name of the filename to open. |
| readonly |
whether to open |
|
the newly created Rc object, or null on error. |