| M E M _ A L L O C T E R M ( )
| | | | | SOURCE: qdev_autodocs.txt 1.163 (12/09/2014) English AMIGA - MEM_#?
----------------------------------------------------------------------------
NAME
mem_allocterm() - Allocates terminal I/O & buffer.
SYNOPSIS
ad = mem_allocterm(cols, rows, fchar);
void *mem_allocterm(LONG, LONG, LONG);
FUNCTION
This func. allocates virtual terminal I/O and area
that can be used with 'han_termifh()' pkt handler.
INPUTS
cols - Number of terminal columns, min 1.
rows - Number of terminal rows, min 1.
fchar - Fill character, passing -1 will pick 0x20.
Each 'fchar' sets the actual terminal byte
to QDEV_MEM_PRV_FNOCHAR.
RETURNS
Returns pointer to private 'struct mem_act_data' or
NULL if there is not enough memory.
BASES
SysBase
NOTES
By default object will link against 'memmove()', so
you can prep your own memory moving routine or you
can hack on 'ad_mmfp' and change it at runtime. The
'libnix' routine is not bad in general.
SEE ALSO
mem_fixterm(), mem_freeterm(),
mem_openifh(), mem_closeifh(), han_termifh()
EXAMPLE
None.
BUGS
None known.
----------------------------------------------------------------------------
| |
| |