|
GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
#include <string.h>#include <stdlib.h>#include <unistd.h>#include <grass/dbmi.h>#include <sys/types.h>#include <dirent.h>
Go to the source code of this file.
Macros | |
| #define | R_OK 4 |
| #define | W_OK 2 |
| #define | X_OK 1 |
Typedefs | |
| typedef struct dirent | dir_entry |
Functions | |
| DIR * | opendir () |
| dir_entry * | readdir () |
| dbDirent * | db_dirent (const char *dirname, int *n) |
| void | db_free_dirent_array (dbDirent *dirent, int count) |
| dbDirent * | db_alloc_dirent_array (int count) |
| #define R_OK 4 |
Definition at line 6 of file dirent.c.
Referenced by G3d_readHeader(), and G3d_readWindow().
| dbDirent* db_alloc_dirent_array | ( | int | count | ) |
Definition at line 147 of file dirent.c.
References count, db_calloc(), db_init_string(), render::name, and NULL.
Referenced by db_dirent().
| dbDirent* db_dirent | ( | const char * | dirname, |
| int * | n | ||
| ) |
Definition at line 34 of file dirent.c.
References count, db_alloc_dirent_array(), db_clear_error(), db_free(), db_isdir(), db_malloc(), db_set_string(), db_syserror(), max, render::name, NULL, opendir(), readdir(), and sprintf().
| void db_free_dirent_array | ( | dbDirent * | dirent, |
| int | count | ||
| ) |
Definition at line 100 of file dirent.c.
References count, db_free(), db_free_string(), and render::name.
| DIR* opendir | ( | ) |
| dir_entry* readdir | ( | ) |