2 Copyright (C) 1996-2016 Free Software Foundation, Inc.
3 This file is part of GNU Make.
5 GNU Make is free software; you can redistribute it and/or modify it under the
6 terms of the GNU General Public License as published by the Free Software
7 Foundation; either version 3 of the License, or (at your option) any later
10 GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
11 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12 A PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License along with
15 this program. If not, see <http://www.gnu.org/licenses/>. */
25 #if !defined (__GNUC__) && !defined (__ALPHA)
26 typedef unsigned long u_long
;
27 typedef unsigned short u_short
;
37 char d_name
[MAXNAMLEN
+ 1];
42 (((sizeof (struct direct) \
44 + ((dp)->d_namlen+1)) \
47 #define d_ino d_fileno /* compatibility */
51 * Definitions for library routines operating on directories.
57 char d_result
[MAXNAMLEN
+ 1];
58 #if defined (__ALPHA) || defined (__DECC)
69 #define rewinddir(dirp) seekdir((dirp), (long)0)
72 struct direct
*readdir (DIR *dfd
);
73 int closedir (DIR *dfd
);
74 const char *vmsify (const char *name
, int type
);