home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / mntdoc01.zoo / mintdoc / cat2 / drewind.nr < prev    next >
Encoding:
Text File  |  1993-03-03  |  998 b   |  67 lines

  1.  
  2.  
  3.  
  4. Drewinddir(2)              Oct. 1, 1991             Drewinddir(2)
  5.  
  6.  
  7. N✓NA✓AM✓ME✓E
  8.        Drewinddir - rewind an open directory
  9.  
  10. S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
  11.        LONG Drewinddir( LONG handle );
  12.  
  13. D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
  14.        _✓D_✓r_✓e_✓w_✓i_✓n_✓d_✓d_✓i_✓r   rewinds   the  open  directory  whose  handle
  15.        (returned from the _✓D_✓o_✓p_✓e_✓n_✓d_✓i_✓r system call) is _✓h_✓a_✓n_✓d_✓l_✓e.  After
  16.        the  _✓D_✓r_✓e_✓w_✓i_✓n_✓d_✓d_✓i_✓r  call, the next call to _✓D_✓r_✓e_✓a_✓d_✓d_✓i_✓r will read
  17.        the first file in the directory.
  18.  
  19. R✓RE✓ET✓TU✓UR✓RN✓NS✓S
  20.        0 on success.
  21.  
  22.        EIHNDL if _✓h_✓a_✓n_✓d_✓l_✓e does not refer to a valid open directory
  23.  
  24.        EINVFN if the directory cannot be  rewound  (for  example,
  25.        because of the type of file system on which it is located)
  26.  
  27. S✓SE✓EE✓E A✓AL✓LS✓SO✓O
  28.        _✓D_✓o_✓p_✓e_✓n_✓d_✓i_✓r(2), _✓D_✓r_✓e_✓a_✓d_✓d_✓i_✓r(2),
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. Version 0.9          MiNT Programmer's Manual                   1
  65.  
  66.  
  67.