BRL-CAD
glob.c File Reference
#include "common.h"
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include "./ged_private.h"
Include dependency graph for glob.c:

Go to the source code of this file.

Functions

int ged_glob (struct ged *gedp, int argc, const char *argv[])
 

Detailed Description

The glob command.

Definition in file glob.c.

Function Documentation

int ged_glob ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Globs expression against the database

Definition at line 86 of file glob.c.

References bu_fnmatch(), bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), bu_vls_putc(), bu_vls_strcat(), bu_vls_trunc(), bu_vls_vlscat(), directory::d_forw, directory::d_namep, db_i::dbi_Head, DBI_NULL, rt_wdb::dbip, GED_ERROR, GED_HELP, GED_NULL, GED_OK, ged::ged_result_str, ged::ged_wdbp, RT_DBNHASH, RT_DIR_NULL, RT_WDB_NULL, and usage().

Here is the call graph for this function: