1 ?RCS: $Id: d_readdir.U 1 2006-08-24 12:32:52Z rmanfredi $
3 ?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
5 ?RCS: You may redistribute only under the terms of the Artistic Licence,
6 ?RCS: as specified in the README file that comes with the distribution.
7 ?RCS: You may reuse parts of this distribution only within the terms of
8 ?RCS: that same Artistic Licence; a copy of which may be found at the root
9 ?RCS: of the source tree for dist 4.0.
11 ?RCS: $Log: d_readdir.U,v $
12 ?RCS: Revision 3.0.1.1 1994/05/06 14:46:37 ram
13 ?RCS: patch23: added support for seekdir, telldir and rewinddir (ADO)
15 ?RCS: Revision 3.0 1993/08/18 12:06:52 ram
16 ?RCS: Baseline for dist 3.0 netwide release.
18 ?X: Force checking for <dirent.h> inclusion
20 ?MAKE:d_readdir d_seekdir d_telldir d_rewinddir: Inlibc
21 ?MAKE: -pick add $@ %<
23 ?S: This variable conditionally defines HAS_READDIR if readdir() is
24 ?S: available to read directory entries.
26 ?C:HAS_READDIR (READDIR):
27 ?C: This symbol, if defined, indicates that the readdir routine is
28 ?C: available to read directory entries. You may have to include
29 ?C: <dirent.h>. See I_DIRENT.
31 ?H:#$d_readdir HAS_READDIR /**/
34 ?S: This variable conditionally defines HAS_SEEKDIR if seekdir() is
38 ?C: This symbol, if defined, indicates that the seekdir routine is
39 ?C: available. You may have to include <dirent.h>. See I_DIRENT.
41 ?H:#$d_seekdir HAS_SEEKDIR /**/
44 ?S: This variable conditionally defines HAS_TELLDIR if telldir() is
48 ?C: This symbol, if defined, indicates that the telldir routine is
49 ?C: available. You may have to include <dirent.h>. See I_DIRENT.
51 ?H:#$d_telldir HAS_TELLDIR /**/
54 ?S: This variable conditionally defines HAS_REWINDDIR if rewinddir() is
58 ?C: This symbol, if defined, indicates that the rewinddir routine is
59 ?C: available. You may have to include <dirent.h>. See I_DIRENT.
61 ?H:#$d_rewinddir HAS_REWINDDIR /**/
63 ?LINT:set d_readdir d_seekdir d_telldir d_rewinddir
64 : see if readdir and friends exist
67 @if d_seekdir || HAS_SEEKDIR
71 @if d_telldir || HAS_TELLDIR
75 @if d_rewinddir || HAS_REWINDDIR
76 set rewinddir d_rewinddir