Write the plist_t structure to a file at given path using the given format and options.
- Parameters
-
| plist | The input plist structure |
| filename | The file name of the file to write to. Existing files will be overwritten. |
| format | A plist_format_t value that specifies the output format to use. |
| options | One or more bitwise ORed values of plist_write_options_t. |
- Returns
- PLIST_ERR_SUCCESS on success or a plist_err_t on failure.
- Note
- Use plist_mem_free() to free the allocated memory.