source: mainline/uspace/lib/c/include/dirent.h@ cd1e3fc0

Last change on this file since cd1e3fc0 was d7f7a4a, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 3 years ago

Replace some license headers with SPDX identifier

Headers are replaced using tools/transorm-copyright.sh only
when it can be matched verbatim with the license header used
throughout most of the codebase.

  • Property mode set to 100644
File size: 475 bytes
RevLine 
[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
20struct dirent {
[bebd154]21 char d_name[256];
[d0dc74ae]22};
23
[391996b]24typedef struct __dirstream DIR;
[d0dc74ae]25
26extern DIR *opendir(const char *);
27extern struct dirent *readdir(DIR *);
28extern void rewinddir(DIR *);
29extern 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.