FreeBASIC  0.91.0
file_dir.c File Reference
#include "../fb.h"
#include <sys/stat.h>
#include <dirent.h>
Include dependency graph for file_dir.c:

Go to the source code of this file.

Data Structures

struct  _FB_DIRCTX
 

Typedefs

typedef struct _FB_DIRCTX FB_DIRCTX
 

Functions

static void close_dir (void)
 
static int get_attrib (char *name, struct stat *info)
 
static int match_spec (char *name)
 
static char * find_next (int *attrib)
 
FBCALL FBSTRINGfb_Dir (FBSTRING *filespec, int attrib, int *out_attrib)
 

Typedef Documentation

typedef struct _FB_DIRCTX FB_DIRCTX

Function Documentation

static void close_dir ( void  )
static

Definition at line 15 of file file_dir.c.

Here is the caller graph for this function:

FBCALL FBSTRING* fb_Dir ( FBSTRING filespec,
int  attrib,
int *  out_attrib 
)

Definition at line 128 of file file_dir.c.

Here is the call graph for this function:

static char* find_next ( int *  attrib)
static

Definition at line 97 of file file_dir.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static int get_attrib ( char *  name,
struct stat *  info 
)
static

Definition at line 23 of file file_dir.c.

Here is the caller graph for this function:

static int match_spec ( char *  name)
static

Definition at line 52 of file file_dir.c.

Here is the caller graph for this function: