Contents

IOAsyncCallback1

standard callback function for asynchronous I/O requests with one extra argument beyond a refcon and result code. This is often a count of the number of bytes transferred

Declaration

typealias IOAsyncCallback1 = (UnsafeMutableRawPointer?, IOReturn, UnsafeMutableRawPointer?) -> Void

Parameters

  • refcon:

    The refcon passed into the original I/O request

  • result:

    The result of the I/O operation

  • arg0:

    Extra argument

See Also

Callbacks