dirent.h File Reference

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

Include dependency graph for dirent.h:

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

Go to the source code of this file.

Data Structures

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 70 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.

Referenced by bit_count(), chkdev(), df(), Indirect(), install_master(), main(), make_bootable(), r_super(), raw_install(), read_super(), swapon(), and zero_block().

#define _MIN_BLOCK_SIZE   1024
 

Definition at line 43 of file dirent.h.

Referenced by do_slink(), main(), r_super(), and read_super().

#define _STATIC_BLOCK_SIZE   1024
 

Definition at line 53 of file dirent.h.

Referenced by boot_readwrite(), df(), main(), read_super(), Read_Super_Block(), and swapon().

#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 Fri Apr 14 23:09:34 2006 for minix by  doxygen 1.4.6