Atari ST series Technical Reference Manual page 280

Hide thumbs Also See for ST series:
Table of Contents

Advertisement

Fclose()
W h e n a p r o g r a m is f in i s h e d w i t h a f ile , i t m u s t u s e th is f u n c t i o n to c l o s e
t h e file .
C macro format
i n t h a n d l e , s t a t u s ;
s t a t u s =
F c l o s e ( h a n d l e ) ;
Machine language format
m o v e . w
h a n d l e , - ( s p )
m o v e , w
# $ 3 E , - (s p )
t r a p
# 1
a d d q .l
# 4 , s p
Inputs
h a n d l e
w o r d
Results
DO
s t a t u s
w o r d
See also
F c r e a t e ( ) , F o p e n ( )
272
Fclose
Close File
T h e file h a n d l e o f t h e file to c lo s e .
A 0 m e a n s s u c c e s s , f a ilu r e is i n d i c a t e d b y th e a p p r o ­
p r i a t e G E M D O S e r r o r n u m b e r .
Opcode = 62 ($3E)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents