CMSDK
2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
Loading...
Searching...
No Matches
direntwin.h
Go to the documentation of this file.
1
5
/*
6
7
Declaration of POSIX directory browsing functions and types for Win32.
8
9
Kevlin Henney (mailto:kevlin@acm.org), March 1997.
10
11
Copyright Kevlin Henney, 1997. All rights reserved.
12
13
Permission to use, copy, modify, and distribute this software and its
14
documentation for any purpose is hereby granted without fee, provided
15
that this copyright and permissions notice appear in all copies and
16
derivatives, and that no charge may be made for the software and its
17
documentation except to cover cost of distribution.
18
19
*/
20
21
#ifdef CYGWIN
22
// #include <errno.h>
23
#endif
24
#include "
Utils.h
"
25
26
#ifndef DIRENT_INCLUDED
27
#define DIRENT_INCLUDED
28
29
namespace
cmlabs
{
30
31
typedef
struct
DIR
DIR
;
32
33
struct
dirent
34
{
35
char
*
d_name
;
36
};
37
38
DIR
*
opendir
(
const
char
*);
39
int
closedir
(
DIR
*);
40
struct
dirent
*
readdir
(
DIR
*);
41
void
rewinddir
(
DIR
*);
42
43
}
// namespace cmlabs
44
45
#endif
Utils.h
Cross-platform utility toolbox for CMSDK: threading, synchronization, shared memory,...
cmlabs
Definition
Base64.h:21
cmlabs::readdir
struct dirent * readdir(DIR *)
Definition
direntwin.cpp:118
cmlabs::opendir
DIR * opendir(const char *)
Definition
direntwin.cpp:53
cmlabs::closedir
int closedir(DIR *)
Definition
direntwin.cpp:95
cmlabs::rewinddir
void rewinddir(DIR *)
Definition
direntwin.cpp:138
cmlabs::DIR
Definition
direntwin.cpp:46
cmlabs::dirent
Definition
direntwin.h:34
cmlabs::dirent::d_name
char * d_name
Definition
direntwin.h:35
include
direntwin.h
Generated by
1.15.0