WikiPendium

(beta)

Cauxout()

WikiPendium :: RecentChanges :: RecentlyCommented :: UserSettings :: You are ec2-3-137-171-56.us-east-2.compute.amazonaws.com

Cauxout()

(Char AUXiliary OUTput)

VOID Cauxout( ch )

WORD ch;

Cauxout() outputs a character to GemDos handle 2, normally the 'aux:' device.

Opcode

4 (0x04)

Availability

All GemDos versions.

Parameters

ch is a WORD value, however, only the lower eight bits are sent. The upper eight bits must be 0.

Binding

	move.w  #ch,-(sp)
	move.w  #4,-(sp)
	trap    #1
	addq.l  #4,sp


Caveats

This function can cause flow control to fail when GemDos handle 2 is directed to 'aux:'.

In addition, some 'C' compilers use this function as a standard error device. It is therefore recommended that Bconout() be used in place of this function.

See Also

Cauxin(), Cauxis(), Cauxos(), Bconout()

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