•  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-FileDopendir()
Dreaddir()
Drewinddir()
Dclosedir()                                                          GEMDOS

Syntax

LONG Dclosedir( dirhandle )
LONG dirhandle;

Function      Dclosedir() closes the specified directory.

Opcode        299 (0x12B)

Availability  Available when a 'MiNT' cookie with a version of at least
              0.90 exists.

Parameters    dirhandle is a valid directory handle which specifies the
              directory to close.

Binding       move.l   dirhandle,-(sp)
              move.w   #$12B,-(sp)
              trap     #1
              addq.l   #6,sp

Return Value  Dclosedir() returns E_OK (0) if successful or EIHNDL (37) if
              the directory handle was invalid.

See Also      Dopendir(), Dreaddir(), Drewinddir()