Back to index

glibc  2.9
Defines | Typedefs | Functions
dirent.h File Reference
#include <features.h>
#include <bits/types.h>
#include <bits/dirent.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define _D_EXACT_NAMLEN(d)   (strlen ((d)->d_name))
#define _D_ALLOC_NAMLEN(d)

Typedefs

typedef struct __dirstream

Functions

DIR * opendir (__const char *__name) __nonnull((1))
int closedir (DIR *__dirp) __nonnull((1))
struct direntreaddir (DIR *__dirp) __nonnull((1))
void rewinddir (DIR *__dirp) __THROW __nonnull((1))

Define Documentation

#define _D_ALLOC_NAMLEN (   d)
Value:
(sizeof (d)->d_name > 1 ? sizeof (d)->d_name : \
                           _D_EXACT_NAMLEN (d) + 1)

Definition at line 90 of file dirent.h.

#define _D_EXACT_NAMLEN (   d)    (strlen ((d)->d_name))

Definition at line 86 of file dirent.h.


Typedef Documentation

typedef struct __dirstream

Definition at line 128 of file dirent.h.


Function Documentation

int closedir ( DIR *  __dirp)

Here is the caller graph for this function:

DIR* opendir ( __const char *  __name)

Here is the caller graph for this function:

struct dirent* readdir ( DIR *  __dirp) [read]

Here is the caller graph for this function:

void rewinddir ( DIR *  __dirp)

Definition at line 26 of file rewinddir.c.

{
  __set_errno (ENOSYS);
  /* No way to indicate failure.   */
}

Here is the call graph for this function:

Here is the caller graph for this function: