MISR Toolkit  1.5.1
Data Structures | Macros | Typedefs | Functions
dirent_win32.h File Reference
#include <sys/types.h>
#include <limits.h>

Go to the source code of this file.

Data Structures

struct  dirent
 
struct  _dircontents
 
struct  _dirdesc
 

Macros

#define MAXNAMLEN   255 /* maximum filename length */
 
#define NAME_MAX   (MAXNAMLEN - 1)
 
#define DIRENTBASESIZ
 
#define DIRENTSIZ(namlen)
 
#define _BOOL_T_DEFINED
 
#define DIRBUF   8192 /* buffer size for fs-indep. dirs */
 
#define _PROTO(p)   ()
 

Typedefs

typedef unsigned char bool
 
typedef struct _dirdesc DIR
 

Functions

DIR *opendir _PROTO ((const char *))
 
struct dirent *readdir _PROTO ((DIR *))
 
void seekdir _PROTO ((DIR *, off_t))
 
char *getcwd _PROTO ((char *, size_t))
 
int scandir _PROTO ((char *, struct dirent ***, int(*)(const void *, const void *), int(*)(const void *, const void *)))
 
int _chdrive _PROTO ((int))
 
int _getdrive _PROTO ((void))
 
char *_getdcwd _PROTO ((int, char *, int))
 
bool IsHPFSFileSystem _PROTO ((char *))
 

Macro Definition Documentation

◆ _BOOL_T_DEFINED

#define _BOOL_T_DEFINED

Definition at line 41 of file dirent_win32.h.

◆ _PROTO

#define _PROTO (   p)    ()

Definition at line 64 of file dirent_win32.h.

◆ DIRBUF

#define DIRBUF   8192 /* buffer size for fs-indep. dirs */

Definition at line 44 of file dirent_win32.h.

◆ DIRENTBASESIZ

#define DIRENTBASESIZ
Value:
(((struct dirent *)0)->d_name \
- (char *)&((struct dirent *)0)->d_ino)
ino_t d_ino
Definition: dirent_win32.h:19

Definition at line 31 of file dirent_win32.h.

◆ DIRENTSIZ

#define DIRENTSIZ (   namlen)
Value:
((DIRENTBASESIZ + sizeof(long) + (namlen)) \
/ sizeof(long) * sizeof(long))
#define DIRENTBASESIZ
Definition: dirent_win32.h:31

Definition at line 34 of file dirent_win32.h.

◆ MAXNAMLEN

#define MAXNAMLEN   255 /* maximum filename length */

Definition at line 11 of file dirent_win32.h.

◆ NAME_MAX

#define NAME_MAX   (MAXNAMLEN - 1)

Definition at line 14 of file dirent_win32.h.

Typedef Documentation

◆ bool

typedef unsigned char bool

Definition at line 40 of file dirent_win32.h.

◆ DIR

typedef struct _dirdesc DIR

Function Documentation

◆ _PROTO() [1/9]

int rmdir _PROTO ( (const char *)  )

◆ _PROTO() [2/9]

off_t telldir _PROTO ( (DIR *)  )

◆ _PROTO() [3/9]

void seekdir _PROTO ( (DIR *, off_t)  )

◆ _PROTO() [4/9]

char* getcwd _PROTO ( (char *, size_t)  )

◆ _PROTO() [5/9]

int scandir _PROTO ( (char *, struct dirent ***, int(*)(const void *, const void *), int(*)(const void *, const void *))  )

◆ _PROTO() [6/9]

int _chdrive _PROTO ( (int)  )

◆ _PROTO() [7/9]

int _getdrive _PROTO ( (void)  )

◆ _PROTO() [8/9]

char* _getdcwd _PROTO ( (int, char *, int)  )

◆ _PROTO() [9/9]

bool IsHPFSFileSystem _PROTO ( (char *)  )

MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:53