ToolChain/bin/targets/m68k-amigaos/ndk/Examples/AsynchIO/asyncio.c
static void RecordSyncFailure(AsyncFile *file)
{
    file->af_Packet.sp_Pkt.dp_Res1 = -1;
    file->af_Packet.sp_Pkt.dp_Res2 = IoErr();
    file->af_BytesLeft = 0;
}
/* this function records a failure from a synchronous DOS call into the
 * packet so that it gets picked up by the other IO routines in this module
 */
this function records a failure from a synchronous DOS call into the
packet so that it gets picked up by the other IO routines in this module
this function records a failure from a synchronous DOS call into the packet so that it gets picked up by the other IO routines in this module
static void RecordSyncFailure(AsyncFile *file)
{
    file->af_Packet.sp_Pkt.dp_Res1 = -1;
    file->af_Packet.sp_Pkt.dp_Res2 = IoErr();
    file->af_BytesLeft = 0;
}
static void RecordSyncFailure ( AsyncFile * file ) { file -> af_Packet . sp_Pkt . dp_Res1 = -1 ; file -> af_Packet . sp_Pkt . dp_Res2 = IoErr ( ) ; file -> af_BytesLeft = 0 ; }
this function records a failure from a synchronous DOS call into the
 packet so that it gets picked up by the other IO routines in this module
this function records a failure from a synchronous DOS call into the packet so that it gets picked up by the other IO routines in this module