•  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()                                                         GEMDOS

Syntax

LONG Drewinddir( handle )
LONG handle;

Function      Drewinddir() rewinds the specified directory pointer to its
              first file.

Opcode        298 (0x12A)

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

Parameters    handle specifies the directory handle of the directory to
              rewind.

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

Return Value  Drewinddir() returns a 0 if successful or a negative GEMDOS
              error code otherwise.

See Also      Dopendir(), Dreaddir()