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

Go to the source code of this file.


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

Detailed Description

The sync command.

Definition in file sync.c.

Function Documentation

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

Sync up the in-memory database with the on-disk database.

Definition at line 36 of file sync.c.

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

Here is the call graph for this function: