| e8555c89 Andy McCall | 1 | |
| 2 | |
|
| 3 | ||
| 4 | /* Copyright (C) 2001, 2006 Free Software Foundation, Inc. |
|
| 5 | * |
|
| 6 | * This library is free software; you can redistribute it and/or |
|
| 7 | * modify it under the terms of the GNU Lesser General Public |
|
| 8 | * License as published by the Free Software Foundation; either |
|
| 9 | * version 2.1 of the License, or (at your option) any later version. |
|
| 10 | * |
|
| 11 | * This library is distributed in the hope that it will be useful, |
|
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
| 14 | * Lesser General Public License for more details. |
|
| 15 | * |
|
| 16 | * You should have received a copy of the GNU Lesser General Public |
|
| 17 | * License along with this library; if not, write to the Free Software |
|
| 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
|
| 19 | */ |
|
| 20 | ||
| 21 | /* Directory stream type. |
|
| 22 | The miscellaneous Unix `readdir' implementations read directory data |
|
| 23 | into a buffer and return `struct dirent *' pointers into it. */ |
|
| 24 | ||
| 25 | // NB: Taken from http://www.koders.com/c/fid5F00BC983E0F005E15E8E590E461D363F6146CEB.aspx |
|
| 26 | // Slightly reformatted/simplified to fit openMSX coding style. |
|
| 27 | |
|
| 28 | |
|
| 29 | |
|
| 30 | |
|
| 31 | |
|
| 32 | |
|
| 33 | |
|
| 34 | |
|
| 35 | |
|
| 36 | |
|
| 37 | |
|
| 38 | |
|
| 39 | |
|
| 40 | |
|
| 41 | |
|
| 42 | |
|
| 43 | |
|
| 44 | |
|
| 45 | |
|
| 46 | |
|
| 47 | |
|
| 48 | |
|
| 49 | |
|
| 50 | |
|
| 51 | |
|
| 52 | |
|
| 53 | |
|
| 54 | |
|
| 55 | |
|
| 56 | |
|
| 57 | |
|
| 58 | |
|
| 59 | |
|
| 60 | |
|
| 61 | |
|
| 62 | |
|
| 63 | |
|
| 64 | |
|
| 65 | |
|
| 66 | |
|
| 67 | |
|
| 68 | |
|
| 69 | |
|
| 70 | |
|
| 71 | // namespace openmsx |
|
| 72 | |
|
| 73 | |
|
| 74 | ||
| 75 | // WIN32_DIRENT_HH |