glob_t Struct Reference

#include <stdapis/glob.h>

struct glob_t
Public Attributes
void(*gl_closedir
int(*gl_errfunc
intgl_flags
int(*gl_lstat
intgl_matchc
intgl_offs
void *(*gl_opendir
intgl_pathc
char **gl_pathv
struct dirent *(*gl_readdir
int(*gl_stat

Detailed Description

Includes the following members,

Member Attribute Documentation

gl_closedir

void(*gl_closedir

Alternate filesystem access methods for glob; replacement versions of closedir(3), readdir(3), opendir(3), stat(2) and lstat(2).

gl_errfunc

int(*gl_errfunc

gl_flags

intgl_flags

Copy of flags parameter to glob.

gl_lstat

int(*gl_lstat

Alternate filesystem access methods for glob; replacement versions of closedir(3), readdir(3), opendir(3), stat(2) and lstat(2).

gl_matchc

intgl_matchc

Count of paths matching pattern

gl_offs

intgl_offs

Reserved at beginning of gl_pathv.

gl_opendir

void *(*gl_opendir

Alternate filesystem access methods for glob; replacement versions of closedir(3), readdir(3), opendir(3), stat(2) and lstat(2).

gl_pathc

intgl_pathc

Count of total paths so far.

gl_pathv

char **gl_pathv

List of paths matching pattern.

gl_readdir

struct dirent *(*gl_readdir

gl_stat

int(*gl_stat

Alternate filesystem access methods for glob; replacement versions of closedir(3), readdir(3), opendir(3), stat(2) and lstat(2).