home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga MA Magazine 1998 #6
/
amigamamagazinepolishissue1998.iso
/
coders
/
biblioteki
/
c_library
/
asyncio
/
source
/
openasyncfromfh.c
< prev
next >
Wrap
C/C++ Source or Header
|
1977-12-31
|
536b
|
21 lines
#include "async.h"
#ifdef ASIO_NOEXTERNALS
_ASM _ARGS AsyncFile *
OpenAsyncFromFH(
_REG( a0 ) BPTR handle,
_REG( d0 ) OpenModes mode,
_REG( d1 ) LONG bufferSize,
_REG( a1 ) struct ExecBase *SysBase,
_REG( a2 ) struct DosLibrary *DOSBase )
{
return( AS_OpenAsyncFH( handle, mode, bufferSize, FALSE, SysBase, DOSBase ) );
}
#else
_ASM LibCall _ARGS AsyncFile *
OpenAsyncFromFH( _REG( a0 ) BPTR handle, _REG( d0 ) OpenModes mode, _REG( d1 ) LONG bufferSize )
{
return( AS_OpenAsyncFH( handle, mode, bufferSize, FALSE ) );
}
#endif