WikiPendium

(beta)

Cauxos()

WikiPendium :: RecentChanges :: RecentlyCommented :: UserSettings :: You are ec2-18-221-15-15.us-east-2.compute.amazonaws.com

Cauxos()

(Char AUXiliary Output Status)

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

Cauxin(), Cauxis(), Cauxout(), Bcostat().

Il n'y a pas de commentaire sur cette page. [Afficher commentaires/formulaire]