Bash  5.0-beta2
Bash - Bourne Again shell
ndir.h File Reference

Go to the source code of this file.

Data Structures

struct  direct
 
struct  DIR
 

Macros

#define DIRBLKSIZ   512
 
#define MAXNAMLEN   15 /* Maximum filename length. */
 
#define rewinddir(dirp)   seekdir (dirp, 0L)
 

Functions

DIRopendir ()
 
struct directreaddir ()
 
long telldir ()
 
void seekdir ()
 
void closedir ()
 

Data Structure Documentation

◆ direct

struct direct

Definition at line 30 of file ndir.h.

Data Fields
long d_ino
unsigned short d_reclen
unsigned short d_namlen
char d_name[15+1]

◆ DIR

struct DIR

Definition at line 38 of file ndir.h.

Data Fields
int dd_fd
int dd_loc
int dd_size
char dd_buf[512]

Macro Definition Documentation

◆ DIRBLKSIZ

#define DIRBLKSIZ   512

Definition at line 18 of file ndir.h.

◆ MAXNAMLEN

#define MAXNAMLEN   15 /* Maximum filename length. */

Definition at line 26 of file ndir.h.

◆ rewinddir

#define rewinddir (   dirp)    seekdir (dirp, 0L)

Definition at line 50 of file ndir.h.

Function Documentation

◆ opendir()

DIR* opendir ( )

Referenced by _remove_directory(), getcwd(), glob_vector(), mailstat(), mindist(), and rl_filename_completion_function().

Here is the caller graph for this function:

◆ readdir()

struct direct* readdir ( )

Referenced by _remove_directory(), getcwd(), glob_vector(), mailstat(), mindist(), and rl_filename_completion_function().

Here is the caller graph for this function:

◆ telldir()

long telldir ( )

◆ seekdir()

void seekdir ( )

◆ closedir()

void closedir ( )

Referenced by _remove_directory(), getcwd(), glob_vector(), mailstat(), mindist(), and rl_filename_completion_function().

Here is the caller graph for this function: