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
29namespace cmlabs {
30
31typedef struct DIR DIR;
32
33struct dirent
34{
35 char *d_name;
36};
37
38DIR *opendir(const char *);
39int closedir(DIR *);
40struct dirent *readdir(DIR *);
41void rewinddir(DIR *);
42
43} // namespace cmlabs
44
45#endif
Cross-platform utility toolbox for CMSDK: threading, synchronization, shared memory,...
struct dirent * readdir(DIR *)
DIR * opendir(const char *)
Definition direntwin.cpp:53
int closedir(DIR *)
Definition direntwin.cpp:95
void rewinddir(DIR *)
char * d_name
Definition direntwin.h:35