# OS_NS_dirent.h File Reference

`#include "ace/config-all.h"`
`#include "ace/os_include/os_dirent.h"`
`#include "ace/ACE_export.h"`
`#include "ace/OS_NS_dirent.inl"`

Include dependency graph for OS_NS_dirent.h:

This graph shows which files directly or indirectly include this file:

## Namespaces

namespace | ACE_OS

## Defines

#define | ACE_EXPORT_MACRO ACE_Export
#define | ACE_INLINE inline

## Functions

ACE_NAMESPACE_INLINE_FUNCTION void | closedir (ACE_DIR *)
ACE_NAMESPACE_INLINE_FUNCTION ACE_DIR * | opendir (const ACE_TCHAR *filename)
ACE_NAMESPACE_INLINE_FUNCTION struct ACE_DIRENT * | readdir (ACE_DIR *)
ACE_NAMESPACE_INLINE_FUNCTION int | readdir_r (ACE_DIR *dirp, struct ACE_DIRENT *entry, struct ACE_DIRENT **result)
ACE_NAMESPACE_INLINE_FUNCTION void | rewinddir (ACE_DIR *)
ACE_NAMESPACE_INLINE_FUNCTION int | scandir (const ACE_TCHAR *dirname, struct ACE_DIRENT **namelist[], int(*selector)(const struct ACE_DIRENT *filename), int(*comparator)(const struct ACE_DIRENT **f1, const struct ACE_DIRENT **f2))
ACE_NAMESPACE_INLINE_FUNCTION void | seekdir (ACE_DIR *, long loc)
ACE_NAMESPACE_INLINE_FUNCTION long | telldir (ACE_DIR *)
ACE_Export ACE_DIR * | opendir_emulation (const ACE_TCHAR *filename)
ACE_Export int | scandir_emulation (const ACE_TCHAR *dirname, ACE_DIRENT **namelist[], int(*selector)(const ACE_DIRENT *entry), int(*comparator)(const ACE_DIRENT **f1, const ACE_DIRENT **f2))
ACE_Export void | closedir_emulation (ACE_DIR *)
ACE_Export struct ACE_DIRENT * | readdir_emulation (ACE_DIR *)

## Detailed Description

Id
  OS_NS_dirent.h,v 1.6 2006/02/10 10:42:34 jwillemsen Exp

Author:
  Douglas C. Schmidt <schmidt@cs.wustl.edu>

  Jesper S. M|ller<stophph@diku.dk>

  and a cast of thousands...

Originally in OS.h.

## Define Documentation

#define ACE_EXPORT_MACRO ACE_Export

#define ACE_INLINE inline

## Function Documentation

ACE_INLINE void ACE_OS::closedir | ( | ACE_DIR * |  | ) |

ACE_BEGIN_VERSIONED_NAMESPACE_DECL void ACE_OS::closedir_emulation | ( | ACE_DIR * |  | ) |

ACE_INLINE ACE_DIR * ACE_OS::opendir | ( | const ACE_TCHAR * | filename | ) |

ACE_DIR * ACE_OS::opendir_emulation | ( | const ACE_TCHAR * | filename | ) |

ACE_INLINE struct ACE_DIRENT * ACE_OS::readdir | ( | ACE_DIR * |  | ) |

struct ACE_DIRENT * ACE_OS::readdir_emulation | ( | ACE_DIR * |  | ) |

ACE_INLINE int ACE_OS::readdir_r | ( | ACE_DIR * | dirp,
|  | struct ACE_DIRENT * | entry,
|  | struct ACE_DIRENT ** | result
| ) |

ACE_INLINE void ACE_OS::rewinddir | ( | ACE_DIR * |  | ) |

ACE_NAMESPACE_INLINE_FUNCTION int scandir | ( | const ACE_TCHAR * | dirname,
|  | struct ACE_DIRENT ** | namelist[],
|  | int(*)(const struct ACE_DIRENT *filename) | selector,
|  | int(*)(const struct ACE_DIRENT **f1, const struct ACE_DIRENT **f2) | comparator
| ) |

int ACE_OS::scandir_emulation | ( | const ACE_TCHAR * | dirname,
|  | ACE_DIRENT ** | namelist[],
|  | int(*)(const ACE_DIRENT *entry) | selector,
|  | int(*)(const ACE_DIRENT **f1, const ACE_DIRENT **f2) | comparator
| ) |

ACE_INLINE void ACE_OS::seekdir | ( | ACE_DIR * | ,
|  | long | loc
| ) |

ACE_INLINE long ACE_OS::telldir | ( | ACE_DIR * |  | ) |