Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

ndir.h File Reference

#include <sys/types.h>
#include <sys/unistd.h>

Include dependency graph for ndir.h:

Include dependency graph

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

Included by dependency graph

Go to the source code of this file.

Compounds

struct  _dircontents
struct  _dirdesc
struct  direct

Defines

#define rewinddir(dirp)   seekdir(dirp, 0L)

Typedefs

typedef _dirdesc DIR

Functions

void seekdir (DIR *, long)
long telldir (DIR *)
DIRopendir (const char *)
void closedir (DIR *)
directreaddir (DIR *)


Define Documentation

#define rewinddir dirp   )     seekdir(dirp, 0L)
 

Definition at line 33 of file ndir.h.


Typedef Documentation

typedef struct _dirdesc DIR
 


Function Documentation

void closedir DIR  ) 
 

Definition at line 119 of file ndir.c.

References _dirdesc::dd_contents, and free_dircontents().

DIR* opendir const char *   ) 
 

Definition at line 46 of file ndir.c.

References free_dircontents(), strcpy, and strlen.

struct direct* readdir DIR  ) 
 

Definition at line 127 of file ndir.c.

References _dircontents::_d_entry, _dircontents::_d_next, direct::d_ino, direct::d_name, direct::d_namlen, direct::d_reclen, _dirdesc::dd_cp, _dirdesc::dd_loc, strcpy, and strlen.

void seekdir DIR ,
long 
 

Definition at line 147 of file ndir.c.

References _dircontents::_d_next, _dirdesc::dd_contents, _dirdesc::dd_cp, and _dirdesc::dd_loc.

long telldir DIR  ) 
 

Definition at line 162 of file ndir.c.

References _dirdesc::dd_loc.


Generated on Tue Feb 8 04:10:29 2005 for E32frodo by doxygen 1.3.3