GRASS GIS 8 Programmer's Manual
8.5.0dev(2025)-565e82de51
dirent.h
Go to the documentation of this file.
1
#ifndef GRASS_MSVC_DIRENT_H
2
#define GRASS_MSVC_DIRENT_H
3
4
/*
5
6
Declaration of POSIX directory browsing functions and types for Win32.
7
8
Author: Kevlin Henney (kevlin@acm.org, kevlin@curbralan.com)
9
History: Created March 1997. Updated June 2003.
10
Rights: See end of file.
11
12
*/
13
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
17
18
typedef
struct
DIR
DIR
;
19
20
struct
dirent
{
21
char
*
d_name
;
22
};
23
24
DIR
*
opendir
(
const
char
*);
25
int
closedir
(
DIR
*);
26
struct
dirent
*
readdir
(
DIR
*);
27
void
rewinddir
(
DIR
*);
28
29
/*
30
31
Copyright Kevlin Henney, 1997, 2003. All rights reserved.
32
33
Permission to use, copy, modify, and distribute this software and its
34
documentation for any purpose is hereby granted without fee, provided
35
that this copyright and permissions notice appear in all copies and
36
derivatives.
37
38
This software is supplied "as is" without express or implied warranty.
39
40
But that said, if there are any problems please get in touch.
41
42
*/
43
44
#ifdef __cplusplus
45
}
46
#endif
47
48
#endif
closedir
int closedir(DIR *)
Definition:
msvc/dirent.c:54
rewinddir
void rewinddir(DIR *)
Definition:
msvc/dirent.c:92
DIR
struct DIR DIR
Definition:
dirent.h:18
readdir
struct dirent * readdir(DIR *)
Definition:
msvc/dirent.c:75
opendir
DIR * opendir(const char *)
Definition:
msvc/dirent.c:15
dirent
Definition:
dirent.h:20
dirent::d_name
char * d_name
Definition:
dirent.h:21
msvc
dirent.h
Generated on Thu Mar 20 2025 07:33:23 for GRASS GIS 8 Programmer's Manual by
1.9.1