Ceci est une version archivée de
Cauxos() à 2008-11-04 23:12:29.
WORD Cauxos( VOID )
Cauxos() indicated whether
GemDos handle 2 (normally device '
aux:') is ready to receive characters.
Opcode
19 (0x13)
Availability
All GEMDOS versions
Binding
move.w #$13,-(sp)
trap #1
addq.l #2,sp
Return Value
A value of DEV_READY (-1) is returned if the output device is ready to receive characters or DEV_BUSY (0) if it is not.
Caveats
This function actually returns the status of whatever device
GemDos handle 2 is redirected to. In addition, some 'C' compilers use this handle as a standard error device. It is therefore recommended that
Bcostat() be used instead.
See Also