w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

dirent.h File Reference
#include <stdlib.h>
#include <windows.h>
#include <limits.h>
#include <sys/types.h>
Include dependency graph for dirent.h:

Go to the source code of this file.

Classes

struct  dirent
 
struct  dir_struct
 

Macros

#define __DIRENT_COOKIE   0xfefeabab
 
#define DT_UNKNOWN   DT_UNKNOWN
 
#define DT_FIFO   DT_FIFO
 
#define DT_CHR   DT_CHR
 
#define DT_DIR   DT_DIR
 
#define DT_BLK   DT_BLK
 
#define DT_REG   DT_REG
 
#define DT_LNK   DT_LNK
 
#define DT_SOCK   DT_SOCK
 
#define DT_WHT   DT_WHT
 

Typedefs

typedef struct dir_struct DIR
 

Enumerations

enum  {
  DT_UNKNOWN = 0 , DT_UNKNOWN = 0 , DT_FIFO = 1 , DT_FIFO = 1 ,
  DT_CHR = 2 , DT_CHR = 2 , DT_DIR = 4 , DT_DIR = 4 ,
  DT_BLK = 6 , DT_BLK = 6 , DT_REG = 8 , DT_REG = 8 ,
  DT_LNK = 10 , DT_LNK = 10 , DT_SOCK = 12 , DT_SOCK = 12 ,
  DT_WHT
}
 

Functions

DIRopendir (const char *)
 
struct direntreaddir (DIR *)
 
void rewinddir (DIR *)
 
void closedir (DIR *)
 
void seekdir (DIR *, long)
 

Macro Definition Documentation

◆ __DIRENT_COOKIE

#define __DIRENT_COOKIE   0xfefeabab

Definition at line 34 of file dirent.h.

◆ DT_BLK

#define DT_BLK   DT_BLK

Definition at line 49 of file dirent.h.

◆ DT_CHR

#define DT_CHR   DT_CHR

Definition at line 45 of file dirent.h.

◆ DT_DIR

#define DT_DIR   DT_DIR

Definition at line 47 of file dirent.h.

◆ DT_FIFO

#define DT_FIFO   DT_FIFO

Definition at line 43 of file dirent.h.

◆ DT_LNK

#define DT_LNK   DT_LNK

Definition at line 53 of file dirent.h.

◆ DT_REG

#define DT_REG   DT_REG

Definition at line 51 of file dirent.h.

◆ DT_SOCK

#define DT_SOCK   DT_SOCK

Definition at line 55 of file dirent.h.

◆ DT_UNKNOWN

#define DT_UNKNOWN   DT_UNKNOWN

Definition at line 41 of file dirent.h.

◆ DT_WHT

#define DT_WHT   DT_WHT

Typedef Documentation

◆ DIR

typedef struct dir_struct DIR

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
DT_UNKNOWN 
DT_UNKNOWN 
DT_FIFO 
DT_FIFO 
DT_CHR 
DT_CHR 
DT_DIR 
DT_DIR 
DT_BLK 
DT_BLK 
DT_REG 
DT_REG 
DT_LNK 
DT_LNK 
DT_SOCK 
DT_SOCK 
DT_WHT 

Definition at line 38 of file dirent.h.

Function Documentation

◆ closedir()

void closedir ( DIR dirp)

Definition at line 123 of file dirent.c.

◆ opendir()

DIR* opendir ( const char *  )

◆ readdir()

struct dirent* readdir ( DIR dirp)

Definition at line 138 of file dirent.c.

◆ rewinddir()

void rewinddir ( DIR dirp)

Definition at line 346 of file director.c.

◆ seekdir()

void seekdir ( DIR dirp,
long  off 
)

Definition at line 356 of file director.c.

Referenced by rewinddir().