GRASS 8 Programmer's Manual  8.5.0dev(2025)-c070206eb1
msvc/dirent.c File Reference
#include <stdlib.h>
#include <io.h>
#include <errno.h>
#include <dirent.h>
Include dependency graph for msvc/dirent.c:

Go to the source code of this file.

Typedefs

typedef ptrdiff_t handle_type
 

Functions

DIRopendir (const char *name)
 
int closedir (DIR *dir)
 
struct direntreaddir (DIR *dir)
 
void rewinddir (DIR *dir)
 

Typedef Documentation

◆ handle_type

typedef ptrdiff_t handle_type

Definition at line 6 of file msvc/dirent.c.

Function Documentation

◆ closedir()

int closedir ( DIR dir)

Definition at line 54 of file msvc/dirent.c.

References free().

Referenced by clean_dir(), G_get_available_mapsets(), G_list(), G_ls2(), G_recursive_remove(), and M__empty().

◆ opendir()

DIR* opendir ( const char *  name)

Definition at line 15 of file msvc/dirent.c.

References free(), malloc(), name, and strcpy.

Referenced by clean_dir(), G_get_available_mapsets(), G_list(), G_ls2(), G_recursive_remove(), and M__empty().

◆ readdir()

struct dirent* readdir ( DIR dir)

Definition at line 75 of file msvc/dirent.c.

References dirent::d_name.

Referenced by clean_dir(), G_get_available_mapsets(), G_list(), G_ls2(), G_recursive_remove(), and M__empty().

◆ rewinddir()

void rewinddir ( DIR dir)

Definition at line 92 of file msvc/dirent.c.

Referenced by G_list().