src/include/minix/dirent.h File Reference

#include <minix/types.h>
#include <minix/dir.h>

Go to the source code of this file.

Classes

struct  _fl_direct
struct  _v7_direct
struct  DIR
struct  dirent

Defines

#define _EXTENT(len)   (((len) + 5) >> 3)
#define _MIN_BLOCK_SIZE   1024
#define _MAX_BLOCK_SIZE   4096
#define _STATIC_BLOCK_SIZE   1024
#define _STATIC_FLEX_PER_BLOCK   (_STATIC_BLOCK_SIZE/sizeof(struct _fl_direct))
#define _FLEX_PER_V7   (_EXTENT(DIRSIZ) + 1)
#define _FLEX_PER_BLOCK   (_STATIC_BLOCK_SIZE/sizeof(struct _fl_direct))
#define _DIRENT_NAME_LEN   61

Functions

 _PROTOTYPE (int closedir,(DIR *_dirp))
 _PROTOTYPE (DIR *opendir,(const char *_dirname))
 _PROTOTYPE (struct dirent *readdir,(DIR *_dirp))
 _PROTOTYPE (void rewinddir,(DIR *_dirp))


Define Documentation

#define _DIRENT_NAME_LEN   61

Definition at line 72 of file dirent.h.

#define _EXTENT ( len   )     (((len) + 5) >> 3)

Definition at line 32 of file dirent.h.

#define _FLEX_PER_BLOCK   (_STATIC_BLOCK_SIZE/sizeof(struct _fl_direct))

Definition at line 57 of file dirent.h.

#define _FLEX_PER_V7   (_EXTENT(DIRSIZ) + 1)

Definition at line 56 of file dirent.h.

#define _MAX_BLOCK_SIZE   4096

Definition at line 50 of file dirent.h.

#define _MIN_BLOCK_SIZE   1024

Definition at line 43 of file dirent.h.

#define _STATIC_BLOCK_SIZE   1024

Definition at line 53 of file dirent.h.

#define _STATIC_FLEX_PER_BLOCK   (_STATIC_BLOCK_SIZE/sizeof(struct _fl_direct))

Definition at line 55 of file dirent.h.


Function Documentation

_PROTOTYPE ( void  rewinddir,
(DIR *_dirp)   
)

_PROTOTYPE ( struct dirent readdir,
(DIR *_dirp)   
)

_PROTOTYPE ( DIR opendir,
(const char *_dirname)   
)

_PROTOTYPE ( int  closedir,
(DIR *_dirp)   
)


Generated on Tue Mar 9 04:36:51 2010 for Minix by  doxygen 1.5.8