home *** CD-ROM | disk | FTP | other *** search
- #include "async.h"
-
- /* 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
- */
- VOID
- AS_RecordSyncFailure( AsyncFile *file )
- {
- #ifdef ASIO_NOEXTERNALS
- struct DosLibrary *DOSBase = file->af_DOSBase;
- #endif
-
- file->af_Packet.sp_Pkt.dp_Res1 = -1;
- file->af_Packet.sp_Pkt.dp_Res2 = IoErr();
- }
-