•  Back 
  •  GEMDOS Function Reference 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-FileCprnout()
Bcostat()
Cprnos()                                                             GEMDOS

Syntax

WORD Cprnos( VOID )

Function      Cprnos() returns the status of GEMDOS handle 3 (normally
              'prn:').

Opcode        17 (0x11)

Availability  All GEMDOS versions.

Parameters    None.

Binding       move.w   #$11,-(sp)
              trap     #1
              addq.l   #2,sp

Return Value  Cprnos() returns a DEV_READY (-1) if the output stream is
              ready to receive a character or DEV_BUSY (0) if not.

See Also      Cprnout(), Bcostat()