Wise&mystical  1.0
Project about Europe
Loading...
Searching...
No Matches
dirent.h File Reference
#include <io.h>
#include <stdlib.h>
#include <string.h>
#include <errno.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.

Classes

struct  dirent
 
struct  DIR
 

Macros

#define DIRENT_MALLOC(sz)   malloc(sz)
 Declaration of POSIX directory browsing functions and types for Win32. More...
 
#define DIRENT_FREE(p)   free(p)
 

Typedefs

typedef struct DIR DIR
 
typedef ptrdiff_t handle_type
 Implementation of POSIX directory browsing functions and types for Win32. More...
 

Functions

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

Macro Definition Documentation

◆ DIRENT_FREE

#define DIRENT_FREE (   p)    free(p)

Definition at line 30 of file dirent.h.

◆ DIRENT_MALLOC

#define DIRENT_MALLOC (   sz)    malloc(sz)

Declaration of POSIX directory browsing functions and types for Win32.

Author: Kevlin Henney (kevli.nosp@m.n@ac.nosp@m.m.org, kevli.nosp@m.n@cu.nosp@m.rbral.nosp@m.an.c.nosp@m.om) History: Created March 1997. Updated June 2003. Reviewed by Ramon Santamaria for raylib on January 2020.

Copyright Kevlin Henney, 1997, 2003. All rights reserved.

Permission to use, copy, modify, and distribute this software and its documentation for any purpose is hereby granted without fee, provided that this copyright and permissions notice appear in all copies and derivatives.

This software is supplied "as is" without express or implied warranty.

But that said, if there are any problems please get in touch.

Definition at line 27 of file dirent.h.

Typedef Documentation

◆ DIR

typedef struct DIR DIR

Definition at line 38 of file dirent.h.

◆ handle_type

typedef ptrdiff_t handle_type

Implementation of POSIX directory browsing functions and types for Win32.

Author: Kevlin Henney (kevli.nosp@m.n@ac.nosp@m.m.org, kevli.nosp@m.n@cu.nosp@m.rbral.nosp@m.an.c.nosp@m.om) History: Created March 1997. Updated June 2003. Reviewed by Ramon Santamaria for raylib on January 2020.

Copyright Kevlin Henney, 1997, 2003. All rights reserved.

Permission to use, copy, modify, and distribute this software and its documentation for any purpose is hereby granted without fee, provided that this copyright and permissions notice appear in all copies and derivatives.

This software is supplied "as is" without express or implied warranty.

But that said, if there are any problems please get in touch.

Definition at line 91 of file dirent.h.

Function Documentation

◆ closedir()

int closedir ( DIR dir)

Definition at line 139 of file dirent.h.

+ Here is the caller graph for this function:

◆ opendir()

DIR * opendir ( const char *  name)

Definition at line 100 of file dirent.h.

+ Here is the caller graph for this function:

◆ readdir()

struct dirent * readdir ( DIR dir)

Definition at line 157 of file dirent.h.

+ Here is the caller graph for this function:

◆ rewinddir()

void rewinddir ( DIR dir)

Definition at line 174 of file dirent.h.

+ Here is the caller graph for this function: