Type Alias fopencookie_sys::cookie_seek_function_t
source · pub type cookie_seek_function_t = Option<unsafe extern "C" fn(__cookie: *mut c_void, __pos: *mut __off64_t, __w: c_int) -> c_int>;Expand description
Move COOKIE’s file position to *POS bytes from the beginning of the file (if W is SEEK_SET), the current position (if W is SEEK_CUR), or the end of the file (if W is SEEK_END). Set *POS to the new file position. Returns zero if successful, nonzero if not.
Aliased Type§
enum cookie_seek_function_t {
None,
Some(unsafe extern "C" fn(_: *mut c_void, _: *mut i64, _: i32) -> i32),
}