9e81ddee87
returned by open() aren't suitable for directory iteration and because checks have to be performed (like whether this is a directory at all and whether the user has read permission). * Added __create_dir_struct() for the attribute, index, and query open functions to use instead. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33974 a95241bf-73f2-0310-859d-f6bbb57e9c96
22 lines
330 B
C
22 lines
330 B
C
/*
|
|
* Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _LIBROOT_DIRENT_PRIVATE_H
|
|
#define _LIBROOT_DIRENT_PRIVATE_H
|
|
|
|
#include <sys/cdefs.h>
|
|
|
|
#include <dirent.h>
|
|
|
|
|
|
__BEGIN_DECLS
|
|
|
|
DIR* __create_dir_struct(int fd);
|
|
|
|
|
|
__END_DECLS
|
|
|
|
|
|
#endif // _LIBROOT_DIRENT_PRIVATE_H
|