| H A N _ R W I F H ( )
| | | | | SOURCE: qdev_autodocs.txt 1.163 (12/09/2014) English AMIGA - HAN_#?
----------------------------------------------------------------------------
NAME
han_rwifh() - Read/write binary handler for use with
'mem_openifh()'.
SYNOPSIS
osigs = han_rwifh(sigs, id);
__saveds __interrupt ULONG han_rwifh(
register ULONG __asm("d0"),
register struct mem_ifh_data * __asm("a1"));
FUNCTION
This handler allows to 'Read()' and 'Write()' the
data until EOF and of course allows 'Seek()' to be
used!
INPUTS
sigs - Current signals.
id - Handler exception data.
RETURNS
Returns the 'sigs' back to 'exec'.
BASES
SysBase
NOTES
You must 'Write()' something first to 'Read()' it!
[30-Dec-2013] Warning! This routine may require hot
vectoring and thus a wrapper to restore A4 register
when binary model requested is resident and code is
to be executed from under OS function such as
'InternalLoadSeg()'!
SEE ALSO
mem_openifh(), mem_closeifh(),
han_rollifh(), han_binaryifh(), han_termifh()
EXAMPLE
None.
BUGS
None known.
----------------------------------------------------------------------------
| |
| |