BRL-CAD
version.c File Reference
#include "common.h"
#include <string.h>
#include "bu/cmd.h"
#include "./ged_private.h"
Include dependency graph for version.c:

Go to the source code of this file.

Functions

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

Detailed Description

The version command.

Definition in file version.c.

Function Documentation

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

Returns the database version.

Definition at line 36 of file version.c.

References bu_vls_printf(), bu_vls_trunc(), db_version(), rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, GED_OK, ged::ged_result_str, and ged::ged_wdbp.

Here is the call graph for this function: