source:
mainline/uspace/lib/c/include/dirent.h@
cd1e3fc0
| Last change on this file since cd1e3fc0 was d7f7a4a, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 475 bytes | |
| Rev | Line | |
|---|---|---|
| [d0dc74ae] | 1 | /* |
| [d7f7a4a] | 2 | * SPDX-FileCopyrightText: 2008 Jakub Jermar |
| [d0dc74ae] | 3 | * |
| [d7f7a4a] | 4 | * SPDX-License-Identifier: BSD-3-Clause |
| [d0dc74ae] | 5 | */ |
| 6 | ||
| 7 | /** @addtogroup libc | |
| 8 | * @{ | |
| 9 | */ | |
| 10 | /** @file | |
| 11 | */ | |
| 12 | ||
| [4805495] | 13 | #ifndef _LIBC_DIRENT_H_ |
| 14 | #define _LIBC_DIRENT_H_ | |
| [d0dc74ae] | 15 | |
| [bc56f30] | 16 | #include <_bits/decls.h> |
| 17 | ||
| 18 | __C_DECLS_BEGIN; | |
| [d0dc74ae] | 19 | |
| 20 | struct dirent { | |
| [bebd154] | 21 | char d_name[256]; |
| [d0dc74ae] | 22 | }; |
| 23 | ||
| [391996b] | 24 | typedef struct __dirstream DIR; |
| [d0dc74ae] | 25 | |
| 26 | extern DIR *opendir(const char *); | |
| 27 | extern struct dirent *readdir(DIR *); | |
| 28 | extern void rewinddir(DIR *); | |
| 29 | extern int closedir(DIR *); | |
| 30 | ||
| [bc56f30] | 31 | __C_DECLS_END; |
| 32 | ||
| [d0dc74ae] | 33 | #endif |
| 34 | ||
| 35 | /** @} | |
| 36 | */ |
Note:
See TracBrowser
for help on using the repository browser.
