Write the plist_t structure to a FILE* stream using the given format and options.
- Parameters
-
| plist | The input plist structure |
| stream | A writeable FILE* stream that the data will be written to. |
| 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
- While this function allows all formats to be written to the given stream, only the formats PLIST_FORMAT_PRINT, PLIST_FORMAT_LIMD, and PLIST_FORMAT_PLUTIL (basically all output-only formats) are directly and efficiently written to the stream; the other formats are written to a memory buffer first.