Function imageflow::imageflow_io_create_for_file
[−]
[src]
#[no_mangle]pub unsafe extern fn imageflow_io_create_for_file(context: *mut Context,
mode: IoMode,
filename: *const c_char,
cleanup: CleanupWith)
-> *mut JobIo
Creates an imageflow_io object to wrap a filename.
The filename should be a null-terminated string. It should be written in codepage used by your operating system for handling fopen
calls.
https://msdn.microsoft.com/en-us/library/yeby3zcb.aspx
If the filename is fopen compatible, you're probably OK.
As always, mode
is not enforced except for the file open flags.